From f4a8e8370496ab47107184a403ffea27cac47392 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Fri, 25 Mar 2011 07:26:17 +0000 Subject: remove two unused assignments coverity 1050 svn path=/trunk/; revision=36329 --- epan/dissectors/packet-syslog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-syslog.c') 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, -- cgit v1.2.3