aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tipc.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-10 17:44:36 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-10 17:44:36 +0000
commit01264a1a5ae4d078ce1330cf98b9c7f99633174a (patch)
tree92dc51954c276a1070e4add354c9fca8910257cf /epan/dissectors/packet-tipc.c
parented8475a099327c7978bf81c14cb128c358576ee9 (diff)
Remove some unneeded lines of code: Coverity 1063;
Also: remonve someunneeded #includes. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37050 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-tipc.c')
-rw-r--r--epan/dissectors/packet-tipc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/epan/dissectors/packet-tipc.c b/epan/dissectors/packet-tipc.c
index de9e29b768..c496d613a8 100644
--- a/epan/dissectors/packet-tipc.c
+++ b/epan/dissectors/packet-tipc.c
@@ -34,10 +34,6 @@
# include "config.h"
#endif
-#include <stdlib.h>
-#include <string.h>
-#include <ctype.h>
-
#include <epan/prefs.h>
#include <glib.h>
@@ -868,8 +864,6 @@ dissect_tipc_v2_internal_msg(tvbuff_t *tipc_tvb, proto_tree *tipc_tree, packet_i
proto_tree_add_text(tipc_tree, tipc_tvb, offset, 4, "word 4 unused for this user");
offset = offset + 4;
/* W5 */
- dword = tvb_get_ntohl(tipc_tvb, offset);
- addr_str_ptr = tipc_addr_to_str(dword);
proto_tree_add_item(tipc_tree, hf_tipcv2_network_id, tipc_tvb, offset, 4, FALSE);
offset = offset + 4;
/* W6 */
@@ -1486,8 +1480,6 @@ w9:| |
offset = offset + 4;
/* W4 */
/* Network Identity: */
- dword = tvb_get_ntohl(tipc_tvb, offset);
- addr_str_ptr = tipc_addr_to_str(dword);
proto_tree_add_item(tipc_tree, hf_tipcv2_network_id, tipc_tvb, offset, 4, FALSE);
offset = offset + 4;
if (handle_v2_as & (V2_AS_1_6)) {