diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-10-31 02:21:02 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-10-31 02:21:02 +0000 |
commit | 552ee02a937362eb3a1039b348d800d35635bd4f (patch) | |
tree | d47c1382edebad4863ccbe146e00867527c24eeb /epan/dissectors/packet-ieee80211.c | |
parent | d06cfa133bdf814ad362ea7e42da3d6e6d78a73d (diff) | |
download | wireshark-552ee02a937362eb3a1039b348d800d35635bd4f.tar.gz wireshark-552ee02a937362eb3a1039b348d800d35635bd4f.tar.bz2 wireshark-552ee02a937362eb3a1039b348d800d35635bd4f.zip |
Get rid of an unused variable, and declare a variable that points into a
tvbuff's data const.
svn path=/trunk/; revision=16368
Diffstat (limited to 'epan/dissectors/packet-ieee80211.c')
-rw-r--r-- | epan/dissectors/packet-ieee80211.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ieee80211.c b/epan/dissectors/packet-ieee80211.c index bb00830adf..e649f6cab3 100644 --- a/epan/dissectors/packet-ieee80211.c +++ b/epan/dissectors/packet-ieee80211.c @@ -942,7 +942,7 @@ dissect_vendor_ie_wpawme(proto_tree * ietree, proto_tree * tree, tvbuff_t * tvb, int offset, guint32 tag_len, const guint8 *tag_val) { guint32 tag_val_off = 0; - char out_buff[SHORT_STR], *pos; + char out_buff[SHORT_STR]; guint i; /* Wi-Fi Protected Access (WPA) Information Element */ @@ -1321,7 +1321,7 @@ static int add_tagged_field (packet_info * pinfo, proto_tree * tree, tvbuff_t * tvb, int offset) { guint32 oui; - guint8 *tag_val; + const guint8 *tag_val; const guint8 *tag_data_ptr; guint32 tag_no, tag_len; unsigned int i; |