Text   |  XML   |  ReML   |   Visible Warnings:

Unused Value  at tvbuff.c:2698

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

tvb_skip_wsp

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/tvbuff.c)expand/collapse
Show more  
 2696  gint tvb_skip_wsp(tvbuff_t* tvb, gint offset, gint maxlength)
 2697  {
 2698          gint counter = offset;
 2699          gint end = offset + maxlength,tvb_len;
 2700          guint8 tempchar;
 2701   
 2702          /* Get the length remaining */
 2703          tvb_len = tvb_length(tvb);
 2704          end = offset + maxlength;
 2705          if (end >= tvb_len)
 2706          {
 2707                  end = tvb_len;
 2708          }
 2709   
 2710          /* Skip past spaces, tabs, CRs and LFs until run out or meet something else */
 2711          for (counter = offset;
 2712               counter < end &&
 2713                ((tempchar = tvb_get_guint8(tvb,counter)) == ' ' ||
 2714                tempchar == '\t' || tempchar == '\r' || tempchar == '\n');
 2715               counter++);
 2716   
 2717          return (counter);
 2718  }
Show more  




Change Warning 2735.31205 : Unused Value

Priority:
State:
Finding:
Owner:
Note: