aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-image-gif.c
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2011-03-25 03:07:05 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2011-03-25 03:07:05 +0000
commit0426d3ae9cdf5603a821c1c7cb56eb5c68b6835b (patch)
treed970932bdd299aef430471e5449967f3fc2a7fc4 /epan/dissectors/packet-image-gif.c
parentc7c1175c165cdefa248c239f82c825113a9dbef2 (diff)
remove assignment of an unused value
coverity 1178 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36324 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-image-gif.c')
-rw-r--r--epan/dissectors/packet-image-gif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-image-gif.c b/epan/dissectors/packet-image-gif.c
index 7ee60945b6..6b6b61d1ed 100644
--- a/epan/dissectors/packet-image-gif.c
+++ b/epan/dissectors/packet-image-gif.c
@@ -181,7 +181,7 @@ dissect_gif(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
proto_item_append_text(ti, ", Version: %s", str);
gif_tree = proto_item_add_subtree(ti, ett_gif);
/* GIF signature */
- ti = proto_tree_add_item(gif_tree, hf_version, tvb, 0, 6, TRUE);
+ proto_tree_add_item(gif_tree, hf_version, tvb, 0, 6, TRUE);
/* Screen descriptor */
proto_tree_add_item(gif_tree, hf_screen_width, tvb, 6, 2, TRUE);
proto_tree_add_item(gif_tree, hf_screen_height, tvb, 8, 2, TRUE);