aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fp_hint.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-01-18 21:49:47 +0000
committerBill Meier <wmeier@newsguy.com>2010-01-18 21:49:47 +0000
commitde4c6ff5157aeec5f1e03f514a71f8530666ed21 (patch)
treec50b56a45e65cddff9bc5e5c6a89f6e1ce51d25f /epan/dissectors/packet-fp_hint.c
parent55669f7127c94adcaeb5deae956f97913bd3cdeb (diff)
Fix a number of gcc _Wshadow warnings
svn path=/trunk/; revision=31557
Diffstat (limited to 'epan/dissectors/packet-fp_hint.c')
-rw-r--r--epan/dissectors/packet-fp_hint.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/dissectors/packet-fp_hint.c b/epan/dissectors/packet-fp_hint.c
index 8bed2cd2a3..87fd76183d 100644
--- a/epan/dissectors/packet-fp_hint.c
+++ b/epan/dissectors/packet-fp_hint.c
@@ -324,8 +324,7 @@ static void assign_fph_dch(tvbuff_t *tvb, packet_info *pinfo, guint16 offset, fp
}
offset += 4;
if (i > MAX_FP_CHANS) {
- proto_item *pi;
- pi = proto_tree_add_text(tree, tvb, offset, -1,
+ proto_tree_add_text(tree, tvb, offset, -1,
"Frame contains more FP channels than currently supported (%u supported)",
MAX_FP_CHANS);
return;
@@ -410,8 +409,7 @@ static void assign_fph_edch(tvbuff_t *tvb, packet_info *pinfo, guint16 offset, f
}
i++;
if (i >= MAX_EDCH_DDIS) {
- proto_item *pi;
- pi = proto_tree_add_text(tree, tvb, offset, -1,
+ proto_tree_add_text(tree, tvb, offset, -1,
"Frame contains more FP channels than currently supported (%u supported)",
MAX_FP_CHANS);
return;