diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2012-03-21 03:14:26 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2012-03-21 03:14:26 +0000 |
commit | 56b75184bbc57c5517bd89484a8959a4c7bd2937 (patch) | |
tree | a2d49d01a3dd90eb367d4dc7b67dfc364c3f4c47 /epan/dissectors/packet-osi-options.c | |
parent | 157481376428c1785d40a6c9444da97c609a228f (diff) |
Fix Coverity CID 1379: UNUSED_VALUE.
svn path=/trunk/; revision=41703
Diffstat (limited to 'epan/dissectors/packet-osi-options.c')
-rw-r--r-- | epan/dissectors/packet-osi-options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-osi-options.c b/epan/dissectors/packet-osi-options.c index 79c6b06f7b..2449524de9 100644 --- a/epan/dissectors/packet-osi-options.c +++ b/epan/dissectors/packet-osi-options.c @@ -229,7 +229,7 @@ dissect_option_route( guchar parm_type, int offset, guchar parm_len, netl = tvb_get_guint8(tvb, next_hop + 2 ); this_hop = offset + 2; /* points to first netl */ - ti = proto_tree_add_text( tree, tvb, offset + next_hop, netl, + proto_tree_add_text( tree, tvb, offset + next_hop, netl, "Source Routing: %s ( Next Hop Highlighted In Data Buffer )", (tvb_get_guint8(tvb, offset) == 0) ? "Partial Source Routing" : "Complete Source Routing" ); |