diff options
author | Bill Meier <wmeier@newsguy.com> | 2012-11-29 16:22:54 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2012-11-29 16:22:54 +0000 |
commit | 0a94d247713a88799bd5f0c6a723e472b2a90ed6 (patch) | |
tree | 18e667421f691fee00bfe02ad2d0f55c860f4536 /plugins/wimaxasncp/wimaxasncp_dict.l | |
parent | 79d3e696a8c296d0754aa5c552b43dcc64e2eb82 (diff) |
Fix several [-Wshadow] warnings.
svn path=/trunk/; revision=46287
Diffstat (limited to 'plugins/wimaxasncp/wimaxasncp_dict.l')
-rw-r--r-- | plugins/wimaxasncp/wimaxasncp_dict.l | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/wimaxasncp/wimaxasncp_dict.l b/plugins/wimaxasncp/wimaxasncp_dict.l index addd27b2b0..7afbdfe5c9 100644 --- a/plugins/wimaxasncp/wimaxasncp_dict.l +++ b/plugins/wimaxasncp/wimaxasncp_dict.l @@ -702,23 +702,23 @@ void wimaxasncp_dict_free(wimaxasncp_dict_t *d) { } void wimaxasncp_dict_print(FILE *fh, wimaxasncp_dict_t *d) { - wimaxasncp_dict_tlv_t *tlv; + wimaxasncp_dict_tlv_t *tlvp; fprintf(fh,"\n"); - for (tlv = d->tlvs; tlv; tlv = tlv->next) { + for (tlvp = d->tlvs; tlvp; tlvp = tlvp->next) { wimaxasncp_dict_enum_t *e; fprintf(fh,"TLV: %s[%u] %s[%d] %s (since %u)\n", - tlv->name ? tlv->name : "-", - tlv->type, - val_to_str(tlv->decoder, + tlvp->name ? tlvp->name : "-", + tlvp->type, + val_to_str(tlvp->decoder, wimaxasncp_decode_type_vals, "Unknown"), - tlv->decoder, - tlv->description ? tlv->description : "", - tlv->since); + tlvp->decoder, + tlvp->description ? tlvp->description : "", + tlvp->since); - for (e = tlv->enums; e; e = e->next) { + for (e = tlvp->enums; e; e = e->next) { fprintf(fh,"\tEnum: %s[%u]\n", e->name ? e->name : "-", e->code); |