diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-01-19 00:37:39 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-01-19 00:37:39 +0000 |
commit | 9b568ea691734185b0a1586ffae0004fc1c786a1 (patch) | |
tree | 7a28d0a4649f007b3dee96d0d9955ce9cd73410d /epan/dissectors/packet-nfs.c | |
parent | 94b8c6433bdfe96f846e6a2b1b9b12cdbc310905 (diff) | |
download | wireshark-9b568ea691734185b0a1586ffae0004fc1c786a1.tar.gz |
Fix gcc -Wshadow warnings
svn path=/trunk/; revision=31561
Diffstat (limited to 'epan/dissectors/packet-nfs.c')
-rw-r--r-- | epan/dissectors/packet-nfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-nfs.c b/epan/dissectors/packet-nfs.c index 24e3d188ba..8cd9e02783 100644 --- a/epan/dissectors/packet-nfs.c +++ b/epan/dissectors/packet-nfs.c @@ -2354,15 +2354,15 @@ static int dissect_ftype(tvbuff_t *tvb, int offset, proto_tree *tree, const char* name) { guint32 ftype; - const char* ftype_name = NULL; + const char* ftype_name_p = NULL; ftype = tvb_get_ntohl(tvb, offset+0); if (tree) { - ftype_name = val_to_str(ftype, nfs2_ftype, "%u"); + ftype_name_p = val_to_str(ftype, nfs2_ftype, "%u"); proto_tree_add_text(tree, tvb, offset, 4, - "%s: %s (%u)", name, ftype_name, ftype); + "%s: %s (%u)", name, ftype_name_p, ftype); } offset += 4; |