diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-01-18 21:49:47 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-01-18 21:49:47 +0000 |
commit | de4c6ff5157aeec5f1e03f514a71f8530666ed21 (patch) | |
tree | c50b56a45e65cddff9bc5e5c6a89f6e1ce51d25f /epan/dissectors/packet-egd.c | |
parent | 55669f7127c94adcaeb5deae956f97913bd3cdeb (diff) |
Fix a number of gcc _Wshadow warnings
svn path=/trunk/; revision=31557
Diffstat (limited to 'epan/dissectors/packet-egd.c')
-rw-r--r-- | epan/dissectors/packet-egd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-egd.c b/epan/dissectors/packet-egd.c index 48a56f8207..09eadc8545 100644 --- a/epan/dissectors/packet-egd.c +++ b/epan/dissectors/packet-egd.c @@ -109,7 +109,7 @@ static void dissect_egd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree *egd_tree = NULL; tvbuff_t *next_tvb = NULL; gint offset, data_length; - guint32 stime; + guint32 sectime; nstime_t egd_time; memset(&egd_time, 0, sizeof(nstime_t)); @@ -129,8 +129,8 @@ static void dissect_egd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) offset += 4; /* time */ - stime = tvb_get_ntohl(tvb, offset); - if (0 == stime) + sectime = tvb_get_ntohl(tvb, offset); + if (0 == sectime) { notime = proto_tree_add_item(egd_tree, hf_egd_notime, tvb, offset, 8, FALSE); proto_item_append_text(notime, "--No TimeStamp"); |