aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rlm.c
diff options
context:
space:
mode:
authormartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-15 12:53:20 +0000
committermartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-15 12:53:20 +0000
commitbce72500da71ed829c980504f1517c89903aa771 (patch)
tree9e9d1aec20f1d343aaee7803748065a1e613402f /epan/dissectors/packet-rlm.c
parent448284cf4285c28a492c88af3f97b7410615ec12 (diff)
Remove more unnecessary assignments. Coverity 1022 (again).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36649 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-rlm.c')
-rw-r--r--epan/dissectors/packet-rlm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-rlm.c b/epan/dissectors/packet-rlm.c
index 24440e4aa1..62e60e4fe4 100644
--- a/epan/dissectors/packet-rlm.c
+++ b/epan/dissectors/packet-rlm.c
@@ -166,11 +166,11 @@ dissect_rlm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
16, "Cisco Session Management"); */
ti = proto_tree_add_item(tree, proto_rlm, tvb, 0, 8, FALSE);
rlm_tree = proto_item_add_subtree(ti, ett_rlm);
- ti = proto_tree_add_item(rlm_tree, hf_rlm_version, tvb, 0, 1, FALSE);
+ proto_tree_add_item(rlm_tree, hf_rlm_version, tvb, 0, 1, FALSE);
proto_tree_add_uint_format(rlm_tree, hf_rlm_type, tvb, 1, 1, rlm_type, "Type: %u (%s)", rlm_type, type_str);
- ti = proto_tree_add_item(rlm_tree, hf_rlm_unknown, tvb, 2, 2, FALSE);
- ti = proto_tree_add_item(rlm_tree, hf_rlm_tid, tvb, 4, 2, FALSE);
- ti = proto_tree_add_item(rlm_tree, hf_rlm_unknown2, tvb, 6, 2, FALSE);
+ proto_tree_add_item(rlm_tree, hf_rlm_unknown, tvb, 2, 2, FALSE);
+ proto_tree_add_item(rlm_tree, hf_rlm_tid, tvb, 4, 2, FALSE);
+ proto_tree_add_item(rlm_tree, hf_rlm_unknown2, tvb, 6, 2, FALSE);
}
return TRUE;