aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/interlink
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2010-03-16 07:49:13 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2010-03-16 07:49:13 +0000
commit4d2163dd3b9cfedbf6370b0f737cdfe2459236aa (patch)
treef1cd810ec7791a3e179d73ec855828cf4815f07b /plugins/interlink
parent737d0b5549aabda0d554bee6c60ab015b1841d39 (diff)
Avoid some dead assignments
svn path=/trunk/; revision=32206
Diffstat (limited to 'plugins/interlink')
-rw-r--r--plugins/interlink/packet-interlink.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/interlink/packet-interlink.c b/plugins/interlink/packet-interlink.c
index 692681351f..a6541e6d47 100644
--- a/plugins/interlink/packet-interlink.c
+++ b/plugins/interlink/packet-interlink.c
@@ -84,7 +84,7 @@ dissect_interlink(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
col_clear(pinfo->cinfo, COL_INFO);
if (tree) {
- proto_item *il_item = NULL;
+ proto_item *il_item;
il_item = proto_tree_add_item(tree, proto_interlink,
tvb, 0, 16, FALSE);
if (il_item)
@@ -111,7 +111,7 @@ dissect_interlink(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
tvb, offset, 2, TRUE);
offset += 2;
if (ilh_tree) {
- proto_item *flags_item = NULL;
+ proto_item *flags_item;
proto_tree *flags_tree = NULL;
flags_item = proto_tree_add_item(ilh_tree, hf_interlink_flags,
@@ -129,7 +129,7 @@ dissect_interlink(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
offset += 2;
if (tree) {
- proto_item *ilb_item = NULL;
+ proto_item *ilb_item;
ilb_item = proto_tree_add_text(il_tree, tvb, offset, 4, "Block Header");
if (ilb_item)
ilb_tree = proto_item_add_subtree(ilb_item, ett_interlink_block);