diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-01-19 23:51:27 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-01-19 23:51:27 +0000 |
commit | 37547c1791d7e975a295a921bfa06b8a663f33c5 (patch) | |
tree | c80e492308a8253f1028a08c173491c431be809b /epan/dissectors/packet-qllc.c | |
parent | fadae76f0c41a69eecfb97236c604fcdc18afeca (diff) |
Fix a few gcc _Wshadow warnings ....
svn path=/trunk/; revision=31580
Diffstat (limited to 'epan/dissectors/packet-qllc.c')
-rw-r--r-- | epan/dissectors/packet-qllc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-qllc.c b/epan/dissectors/packet-qllc.c index 8050cb9364..2813665e48 100644 --- a/epan/dissectors/packet-qllc.c +++ b/epan/dissectors/packet-qllc.c @@ -79,7 +79,7 @@ dissect_qllc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree *qllc_tree = NULL; proto_item *qllc_ti = NULL; gboolean *q_bit_set = pinfo->private_data; - guint8 address, ctrl; + guint8 addr, ctrl; gboolean command = FALSE; /* @@ -101,7 +101,7 @@ dissect_qllc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Get the address; we need it to determine if this is a * COMMAND or a RESPONSE */ - address = tvb_get_guint8(tvb, 0); + addr = tvb_get_guint8(tvb, 0); if (tree) { proto_tree_add_item(qllc_tree, hf_qllc_address, tvb, 0, 1, FALSE); } @@ -109,7 +109,7 @@ dissect_qllc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* The address field equals X'FF' in commands (except QRR) * and anything in responses. */ ctrl = tvb_get_guint8(tvb, 1); - if (ctrl != QRR && address == 0xff) { + if (ctrl != QRR && addr == 0xff) { command = TRUE; } |