summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-syslog.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2011-03-25 07:26:17 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2011-03-25 07:26:17 +0000
commitf4a8e8370496ab47107184a403ffea27cac47392 (patch)
tree747555457f203c3f0e8eba3ba8cc0b0f4eabb799 /epan/dissectors/packet-syslog.c
parent79e0b02dcd04e31df066e98457c87fedf19d65db (diff)
downloadwireshark-f4a8e8370496ab47107184a403ffea27cac47392.tar.gz
remove two unused assignments
coverity 1050 svn path=/trunk/; revision=36329
Diffstat (limited to 'epan/dissectors/packet-syslog.c')
-rw-r--r--epan/dissectors/packet-syslog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-syslog.c b/epan/dissectors/packet-syslog.c
index 810ac265ec..78674f064d 100644
--- a/epan/dissectors/packet-syslog.c
+++ b/epan/dissectors/packet-syslog.c
@@ -280,9 +280,9 @@ dissect_syslog(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
syslog_tree = proto_item_add_subtree(ti, ett_syslog);
if (pri >= 0) {
- ti = proto_tree_add_uint(syslog_tree, hf_syslog_facility, tvb, 0,
+ proto_tree_add_uint(syslog_tree, hf_syslog_facility, tvb, 0,
msg_off, pri);
- ti = proto_tree_add_uint(syslog_tree, hf_syslog_level, tvb, 0,
+ proto_tree_add_uint(syslog_tree, hf_syslog_level, tvb, 0,
msg_off, pri);
}
proto_tree_add_item(syslog_tree, hf_syslog_msg, tvb, msg_off,