Text   |  XML   |  ReML   |   Visible Warnings:

Redundant Condition  at grammar.c:518

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

yy_pop_parser_stack

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dfilter/grammar.c)expand/collapse
Show more  
 512  static int yy_pop_parser_stack(yyParser *pParser){
 513    YYCODETYPE yymajor;
 514    yyStackEntry *yytos = &pParser->yystack[pParser->yyidx];
 515   
 516    if( pParser->yyidx<0 ) return 0;
 517  #ifndef NDEBUG 
 518    if( yyTraceFILE && pParser->yyidx>=0 ){
 519      fprintf(yyTraceFILE,"%sPopping %s\n",
 520        yyTracePrompt,
 521       yyTokenName[yytos->major]);
 522    }
 523  #endif
 524    yymajor = yytos->major;
 525    yy_destructor( yymajor, &yytos->minor);
 526    pParser->yyidx--;
 527    return yymajor;
 528  }
Show more  




Change Warning 1148.29895 : Redundant Condition

Because they are very similar, this warning shares annotations with warnings 1148.29904 and 1148.29905.

Priority:
State:
Finding:
Owner:
Note: