diff options
author | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-03-29 14:23:13 +0000 |
---|---|---|
committer | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-03-29 14:23:13 +0000 |
commit | 2e12ebaf7576805e8df3347584a124cea41deaa4 (patch) | |
tree | 72564fa5d226c369d49d3d33d6118b6e976a0f9a /plugins | |
parent | ae8dbfb41b9c9ecad66083dae8ba7682865566d6 (diff) |
Don't assign proto_item pointers that are not used.
Coverity 1174
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36395 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/wimaxasncp/packet-wimaxasncp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/wimaxasncp/packet-wimaxasncp.c b/plugins/wimaxasncp/packet-wimaxasncp.c index 786fc8eca0..f58750647c 100644 --- a/plugins/wimaxasncp/packet-wimaxasncp.c +++ b/plugins/wimaxasncp/packet-wimaxasncp.c @@ -2259,7 +2259,7 @@ dissect_wimaxasncp( if (ui8 == 0) { - item = proto_tree_add_uint_format( + proto_tree_add_uint_format( wimaxasncp_tree, hf_wimaxasncp_flags, tvb, offset, 1, ui8, "Flags: 0x%02x", ui8); @@ -2329,7 +2329,7 @@ dissect_wimaxasncp( if( function_type_name ) { /* add the item to the tree */ - function_type_item = proto_tree_add_uint_format( + proto_tree_add_uint_format( wimaxasncp_tree, hf_wimaxasncp_function_type, tvb, offset, 1, function_type, "%s (%u)", function_type_name, function_type); |