Text   |  XML   |  ReML   |   Visible Warnings:

Unreachable Data Flow  at semcheck.c:285

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

is_bytes_type

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dfilter/semcheck.c)expand/collapse
Show more  
 242  is_bytes_type(enum ftenum type)
 243  {
 244          switch(type) {
 245                  case FT_ETHER:
 246                  case FT_BYTES:
 247                  case FT_UINT_BYTES:
 248                  case FT_IPv6:
 249                  case FT_GUID:
 250                  case FT_OID:
 251                          return TRUE;
 252   
 253                  case FT_NONE:
 254                  case FT_PROTOCOL:
 255                  case FT_FLOAT:
 256                  case FT_DOUBLE:
 257                  case FT_ABSOLUTE_TIME:
 258                  case FT_RELATIVE_TIME:
 259                  case FT_IPv4:
 260                  case FT_IPXNET:
 261                  case FT_STRING:
 262                  case FT_STRINGZ:
 263                  case FT_EBCDIC:
 264                  case FT_UINT_STRING:
 265                  case FT_BOOLEAN:
 266                  case FT_FRAMENUM:
 267                  case FT_UINT8:
 268                  case FT_UINT16:
 269                  case FT_UINT24:
 270                  case FT_UINT32:
 271                  case FT_UINT64:
 272                  case FT_INT8:
 273                  case FT_INT16:
 274                  case FT_INT24:
 275                  case FT_INT32:
 276                  case FT_INT64:
 277                  case FT_PCRE:
 278                          return FALSE;
 279   
 280                  case FT_NUM_TYPES:
 281                          g_assert_not_reached();
 282          }
 283   
 284          g_assert_not_reached();
 285          return FALSE;
 286  }
Show more  




Change Warning 1160.29404 : Unreachable Data Flow

Priority:
State:
Finding:
Owner:
Note: