Text   |  XML   |  ReML   |   Visible Warnings:

Useless Assignment  at editcap.c:269

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

selected

(/home/sate/Testcases/c/cve/wireshark-1.2.0/editcap.c)expand/collapse
Show more  
 265  selected(int recno)
 266  {
 267    int i = 0;
 268   
 269    for (i = 0; i<= max_selected; i++) {
 270   
 271      if (selectfrm[i].inclusive) {
 272        if (selectfrm[i].first <= recno && selectfrm[i].second >= recno)
 273          return 1;
 274      }
 275      else {
 276        if (recno == selectfrm[i].first)
 277          return 1;
 278      }
 279    }
 280   
 281    return 0;
 282   
 283  }
Show more  




Change Warning 4948.29368 : Useless Assignment

Priority:
State:
Finding:
Owner:
Note: