Unreachable Computation at sttype-test.c:90 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
num_operands (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dfilter/sttype-test.c)![]() | ||||||
![]() | ||||||
68 | num_operands(test_op_t op) | |||||
69 | { | |||||
70 | switch(op) { | |||||
71 | case TEST_OP_UNINITIALIZED: | |||||
72 | g_assert_not_reached(); | |||||
73 | case TEST_OP_EXISTS: | |||||
74 | case TEST_OP_NOT: | |||||
75 | return 1; | |||||
76 | case TEST_OP_AND: | |||||
77 | case TEST_OP_OR: | |||||
78 | case TEST_OP_EQ: | |||||
79 | case TEST_OP_NE: | |||||
80 | case TEST_OP_GT: | |||||
81 | case TEST_OP_GE: | |||||
82 | case TEST_OP_LT: | |||||
83 | case TEST_OP_LE: | |||||
84 | case TEST_OP_BITWISE_AND: | |||||
85 | case TEST_OP_CONTAINS: | |||||
86 | case TEST_OP_MATCHES: | |||||
87 | return 2; | |||||
88 | } | |||||
89 | g_assert_not_reached(); | |||||
90 | return -1;
| |||||
91 | } | |||||
![]() |