aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/gryphon
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-01-28 21:49:30 +0000
committerBill Meier <wmeier@newsguy.com>2010-01-28 21:49:30 +0000
commit1341fcd87eed8a937e0362eac5cd3bc4d3a1180b (patch)
treefbe6ba74b37d4f018150d24eb22bd7d82714d4e6 /plugins/gryphon
parent2ea1e1962f0d55e2f22c474df50f1fe609c734ca (diff)
Fix some gcc -Wshadow warnings.
svn path=/trunk/; revision=31722
Diffstat (limited to 'plugins/gryphon')
-rw-r--r--plugins/gryphon/packet-gryphon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gryphon/packet-gryphon.c b/plugins/gryphon/packet-gryphon.c
index fc9975e79b..a172aae682 100644
--- a/plugins/gryphon/packet-gryphon.c
+++ b/plugins/gryphon/packet-gryphon.c
@@ -418,7 +418,7 @@ static const val_str_dsp cmds[] = {
{-1, "- unknown -", NULL, NULL},
};
-static const value_string responses[] = {
+static const value_string responses_vs[] = {
{RESP_OK, "OK - no error"},
{RESP_UNKNOWN_ERR, "Unknown error"},
{RESP_UNKNOWN_CMD, "Unrecognised command"},
@@ -708,7 +708,7 @@ decode_response(tvbuff_t *tvb, int offset, int src, proto_tree *pt)
resp = tvb_get_ntohl (tvb, offset);
proto_tree_add_text (pt, tvb, offset, 4, "Status: %s",
- val_to_str(resp, responses, "Unknown (0x%08x)"));
+ val_to_str(resp, responses_vs, "Unknown (0x%08x)"));
offset += 4;
msglen -= 4;