(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-beep.c) |
| |
| 409 | | | ti = proto_tree_add_text(tree, tvb, offset, mime_length, "Mime : %s", tvb_format_text(tvb, offset, mime_length)); |
| 410 | | | mime_tree = proto_item_add_subtree(ti, ); |
| 411 | | | } |
| 412 | | | |
| 413 | | | if (mime_length == 0) { |
| 414 | | | |
| 415 | | | if (tree) { |
| 416 | | | proto_tree_add_text(mime_tree, tvb, offset, 0, "Default values"); |
| 417 | | | } |
| 418 | | | |
| 419 | | | if ((cc = check_term(tvb, offset, mime_tree)) <= 0) { |
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.
|
|
| 420 | | | |
| 421 | | | |
| 422 | | | |
| 423 | | | } |
| 424 | | | |
| 425 | | | } |
| 426 | | | else { |
| 427 | | | |
| 428 | | | if (tree) { |
| 429 | | | proto_tree_add_text(mime_tree, tvb, offset, mime_length, ": %s", |
| |