Text   |  XML   |  ReML   |   Visible Warnings:

Unused Value  at cydir-save.c:64

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

cydir_save_alloc

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/index/cydir/cydir-save.c)expand/collapse
Show more  
 58  struct mail_save_context *
 59  cydir_save_alloc(struct mailbox_transaction_context *_t)
 60  {
 61          struct cydir_transaction_context *t =
 62                  (struct cydir_transaction_context *)_t;
 63          struct cydir_mailbox *mbox = (struct cydir_mailbox *)t->ictx.ibox;
 64          struct cydir_save_context *ctx = t->save_ctx;
 65   
 66          i_assert((t->ictx.flags & MAILBOX_TRANSACTION_FLAG_EXTERNAL) != 0);
 67   
 68          if (t->save_ctx != NULL)
 69                  return &t->save_ctx->ctx;
 70   
 71          ctx = t->save_ctx = i_new(struct cydir_save_context, 1);
 72          ctx->ctx.transaction = &t->ictx.mailbox_ctx;
 73          ctx->mbox = mbox;
 74          ctx->trans = t->ictx.trans;
 75          ctx->tmp_basename = cydir_generate_tmp_filename();
 76          return &ctx->ctx;
 77  }
Show more  




Change Warning 7487.24867 : Unused Value

Priority:
State:
Finding:
Owner:
Note: