aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2011-04-11 17:21:15 +0000
committerJörg Mayer <jmayer@loplof.de>2011-04-11 17:21:15 +0000
commita6691d79c60912c2f4071dadc1e3c0b62714e227 (patch)
tree50824707416140afafab314059afd7bc0657f6a7
parent0e95d4dbf5f64ae734c1d75e833eede0e2ff15ce (diff)
Fix coverity CID 855: remove an unused variable
svn path=/trunk/; revision=36559
-rw-r--r--epan/dissectors/packet-bootp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-bootp.c b/epan/dissectors/packet-bootp.c
index 5b0263e40b..a589b4ae20 100644
--- a/epan/dissectors/packet-bootp.c
+++ b/epan/dissectors/packet-bootp.c
@@ -825,7 +825,7 @@ bootp_option(tvbuff_t *tvb, packet_info *pinfo, proto_tree *bp_tree, int voff,
int optoff, optleft, optend;
guint32 time_u_secs;
gint32 time_s_secs;
- proto_tree *v_tree, *ft;
+ proto_tree *v_tree;
proto_item *vti;
guint8 protocol;
guint8 algorithm;
@@ -1391,7 +1391,7 @@ bootp_option(tvbuff_t *tvb, packet_info *pinfo, proto_tree *bp_tree, int voff,
break;
}
fqdn_flags = tvb_get_guint8(tvb, optoff);
- ft = proto_tree_add_text(v_tree, tvb, optoff, 1, "Flags: 0x%02x", fqdn_flags);
+ proto_tree_add_text(v_tree, tvb, optoff, 1, "Flags: 0x%02x", fqdn_flags);
proto_tree_add_item(v_tree, hf_bootp_fqdn_mbz, tvb, optoff, 1, FALSE);
proto_tree_add_item(v_tree, hf_bootp_fqdn_n, tvb, optoff, 1, FALSE);
proto_tree_add_item(v_tree, hf_bootp_fqdn_e, tvb, optoff, 1, FALSE);