Text   |  XML   |  ReML   |   Visible Warnings:

Redundant Condition  at message-date.c:106

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

next_token

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-mail/message-date.c)expand/collapse
Show more  
 95  static int next_token(struct message_date_parser_context *ctx,
 96                        const unsigned char **value, size_t *value_len)
 97  {
 98          int ret;
 99   
 100          str_truncate(ctx->str, 0);
 101          ret = ctx->parser.data == ctx->parser.end ? 0 :
 102                  rfc822_parse_atom(&ctx->parser, ctx->str);
 103   
 104          *value = str_data(ctx->str);
 105          *value_len = str_len(ctx->str);
 106          return ret < 0 ? -1 : *value_len > 0;
 107  }
Show more  




Change Warning 7156.24622 : Redundant Condition

Priority:
State:
Finding:
Owner:
Note: