diff options
author | Anders Broman <anders.broman@ericsson.com> | 2006-03-10 07:06:21 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2006-03-10 07:06:21 +0000 |
commit | 281e4a7ebb92c705d0d757e472fd6285eaf2636f (patch) | |
tree | e188852c4bf80bb6f0b42a58d390e2743d2d0169 | |
parent | d7f890c01e88271da27c9349cebe2f6312d6d757 (diff) |
Fix CID 6 - Unused code.
svn path=/trunk/; revision=17565
-rw-r--r-- | epan/dissectors/packet-slowprotocols.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/epan/dissectors/packet-slowprotocols.c b/epan/dissectors/packet-slowprotocols.c index ca2bc6a303..d3f0dbaf88 100644 --- a/epan/dissectors/packet-slowprotocols.c +++ b/epan/dissectors/packet-slowprotocols.c @@ -1646,16 +1646,13 @@ dissect_oampdu_information(tvbuff_t *tvb, proto_tree *tree) info_type = tvb_get_guint8(tvb, offset); - if (info_type == 0) break; + if (info_type == OAMPDU_INFO_TYPE_ENDMARKER) break; info_item = proto_tree_add_uint(tree, hf_oampdu_info_type, tvb, offset, 1, info_type); switch (info_type) { - case OAMPDU_INFO_TYPE_ENDMARKER: - info_tree = NULL; - break; case OAMPDU_INFO_TYPE_LOCAL: info_tree = proto_item_add_subtree(info_item, ett_oampdu_local_info); break; |