Text   |  XML   |  ReML   |   Visible Warnings:

Unused Value  at cydir-sync.c:145

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

cydir_sync_finish

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/index/cydir/cydir-sync.c)expand/collapse
Show more  
 142  int cydir_sync_finish(struct cydir_sync_context **_ctx, bool success)
 143  {
 144          struct cydir_sync_context *ctx = *_ctx;
 145          int ret = success ? 0 : -1;
 146   
 147          *_ctx = NULL;
 148          if (success) {
 149                  if (mail_index_sync_commit(&ctx->index_sync_ctx) < 0) {
 150                          mail_storage_set_index_error(&ctx->mbox->ibox);
 151                          ret = -1;
 152                  }
 153          } else {
 154                  mail_index_sync_rollback(&ctx->index_sync_ctx);
 155          }
 156          if (ctx->path != NULL)
 157                  str_free(&ctx->path);
 158          i_free(ctx);
 159          return 0;
 160  }
Show more  




Change Warning 7490.25816 : Unused Value

Priority:
State:
Finding:
Owner:
Note: