Text   |  XML   |  ReML   |   Visible Warnings:

Empty if Statement  at ftype-tvbuff.c:190

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

slice

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/ftypes/ftype-tvbuff.c)expand/collapse
Show more  
 180  static void
 181  slice(fvalue_t *fv, GByteArray *bytes, guint offset, guint length)
 182  {
 183          const guint8* data;
 184   
 185          if (fv->value.tvb) {
 186                  TRY {
 187                          data = tvb_get_ptr(fv->value.tvb, offset, length);
 188                          g_byte_array_append(bytes, data, length);
 189                  }
 190                  CATCH_ALL {
 191                          /* nothing */
 192                  }
 193                  ENDTRY;
 194   
 195          }
 196  }
 197   
 198  static gboolean
 199  cmp_eq(fvalue_t *fv_a, fvalue_t *fv_b)
 200  {
Show more  




Change Warning 10.26926 : Empty if Statement

Priority:
State:
Finding:
Owner:
Note: