diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-06-20 01:13:21 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-06-20 01:13:21 +0000 |
commit | 91191c6c003ac2502626ae9bfb316e52fb6aa0a8 (patch) | |
tree | f0aa07f73632d1aa064e1a9af2fac2aa13b757e2 /epan/dissectors/packet-dect.c | |
parent | b8e727ac8d7d5f77c9244786056eb8da185e0022 (diff) |
Fix some gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings;
(Code commented out since it may be required in the future (at least in some cases).
svn path=/trunk/; revision=37723
Diffstat (limited to 'epan/dissectors/packet-dect.c')
-rw-r--r-- | epan/dissectors/packet-dect.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-dect.c b/epan/dissectors/packet-dect.c index e591b1f16d..3b6dcedd2d 100644 --- a/epan/dissectors/packet-dect.c +++ b/epan/dissectors/packet-dect.c @@ -1258,7 +1258,7 @@ static gint dissect_bfield(gboolean dect_packet_type _U_, guint8 ba, packet_info *pinfo _U_, tvbuff_t *tvb, gint offset, proto_tree *DectTree, proto_tree *ColumnsTree) { - guint8 xcrc, xcrclen; + guint8 xcrc/*, xcrclen*/; guint16 blen; gint start_offset; char *bfield_str; @@ -1290,21 +1290,21 @@ dissect_bfield(gboolean dect_packet_type _U_, guint8 ba, case 5: case 6: blen=40; - xcrclen=4; + /*xcrclen=4;*/ bfield_short_str="Full Slot"; bfield_str="Full Slot (320 bit data, 4 bit xcrc)"; break; case 2: blen=100; - xcrclen=4; + /*xcrclen=4;*/ bfield_short_str="Double Slot"; bfield_str="Double Slot (800 bit data, 4 bit xcrc)"; break; case 4: blen=10; - xcrclen=4; + /*xcrclen=4;*/ bfield_short_str="Half Slot"; bfield_str="Half Slot (80 bit data, 4 bit xcrc)"; @@ -1312,7 +1312,7 @@ dissect_bfield(gboolean dect_packet_type _U_, guint8 ba, case 7: default: blen=0; - xcrclen=0; + /*xcrclen=0;*/ bfield_short_str="No B-Field"; bfield_str="No B-Field"; |