(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-jxta.c) |
| |
| 2276 | | | dissected = dissect_media("text/xml;charset=\"UTF-8\"", uncomp_tvb, pinfo, tree); |
| 2277 | | | |
| 2278 | | | if( dissected > 0 ) { |
| 2279 | | | |
| 2280 | | | dissected = tvb_length(tvb); |
| 2281 | | | } |
| 2282 | | | } |
| 2283 | | | } else { |
| 2284 | | | dissected = dissector_try_string(media_type_dissector_table, mediatype, tvb, pinfo, tree) ? tvb_length(tvb) : 0; |
| 2285 | | | |
| 2286 | | | if( dissected != (int) tvb_length(tvb) ) { |
Empty if Statement
Body of if has no effect. This warning could be triggered if: - the body contains no code, or
- the body is removed by the preprocessor, or
- all the macros used in the body expand to nothing.
|
|
| 2287 | | | |
| 2288 | | | } |
| 2289 | | | } |
| 2290 | | | |
| 2291 | | | if (0 == dissected) { |
| 2292 | | | dissected = call_dissector(media_handle, tvb, pinfo, tree); |
| 2293 | | | } |
| 2294 | | | |
| 2295 | | | pinfo->match_string = save_match_string; |
| 2296 | | | pinfo->private_data = save_private_data; |
| |