diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-01-29 16:09:25 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-01-29 16:09:25 +0000 |
commit | e4d6610bd5a46d4b81f34bb82a132f60a6b02835 (patch) | |
tree | b6688a7b2922d82da6c94e25ca74d5753b5c8321 /tap-wspstat.c | |
parent | 9cc7ad9f664b3db9767b9a5722ae9395cfc65533 (diff) |
Fix various gcc -Wshadow warnings.
svn path=/trunk/; revision=31729
Diffstat (limited to 'tap-wspstat.c')
-rw-r--r-- | tap-wspstat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tap-wspstat.c b/tap-wspstat.c index 1f9eae0b8b..b5c285443c 100644 --- a/tap-wspstat.c +++ b/tap-wspstat.c @@ -134,7 +134,7 @@ wspstat_packet(void *psp, packet_info *pinfo _U_, epan_dissect_t *edt _U_, const { wspstat_t *sp=psp; const wsp_info_value_t *value=pri; - gint index = pdut2index(value->pdut); + gint idx = pdut2index(value->pdut); int retour=0; if (value->status_code != 0) { @@ -160,8 +160,8 @@ wspstat_packet(void *psp, packet_info *pinfo _U_, epan_dissect_t *edt _U_, const - if (index!=0) { - sp->pdu_stats[ index ].packets++; + if (idx!=0) { + sp->pdu_stats[ idx ].packets++; retour = 1; } return retour; |