aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ixveriwave.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-02-05 21:30:37 +0000
committerBill Meier <wmeier@newsguy.com>2013-02-05 21:30:37 +0000
commitfebbfac792fd15bc1e5a450fd32e8812a6fb4df7 (patch)
tree25cadb5241d4b96f38973c3779d82ae330782697 /epan/dissectors/packet-ixveriwave.c
parentc521263a6bbffdb27520aba64ee4ba06c3a4953e (diff)
Comment out code which will never be executed in its current state.
svn path=/trunk/; revision=47503
Diffstat (limited to 'epan/dissectors/packet-ixveriwave.c')
-rw-r--r--epan/dissectors/packet-ixveriwave.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/epan/dissectors/packet-ixveriwave.c b/epan/dissectors/packet-ixveriwave.c
index b8a97c097b..5f6327fa66 100644
--- a/epan/dissectors/packet-ixveriwave.c
+++ b/epan/dissectors/packet-ixveriwave.c
@@ -176,7 +176,7 @@ static int hf_radiotap_flags = -1;
static int hf_radiotap_datarate = -1;
static int hf_radiotap_dbm_antsignal = -1;
static int hf_radiotap_txpower = -1;
-static int hf_radiotap_fcs_bad = -1;
+/* static int hf_radiotap_fcs_bad = -1; */
static int hf_radiotap_flags_cfp = -1;
static int hf_radiotap_flags_preamble = -1;
@@ -704,9 +704,9 @@ static void
wlantap_dissect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_tree *tap_tree)
{
proto_tree *ft, *flags_tree = NULL;
- proto_item *hdr_fcs_ti = NULL;
+/* proto_item *hdr_fcs_ti = NULL; */
int align_offset, offset;
- guint32 calc_fcs;
+/* guint32 calc_fcs; */
tvbuff_t *next_tvb;
guint length;
guint32 rate;
@@ -947,10 +947,10 @@ wlantap_dissect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_tree
/* Grab the rest of the frame. */
next_tvb = tvb_new_subset(tvb, length, -1, -1);
+#if 0 /* XXX: 'hdr_fcs_ti' is never set so the following code will never be executed ? */
/* If we had an in-header FCS, check it. */
if (hdr_fcs_ti) {
- /* XXX: 'hdr_fcs_ti' is never set so the following code will never be executed ? */
- /* Also: 'sent fcs' always 0 ? */
+ /* XXX: Also: 'sent fcs' always 0 ? */
/* 'hf_radiotap_fcs_bad' has no entry in hf[] */
/* It would be very strange for the header to have an FCS for the
* frame *and* the frame to have the FCS at the end, but it's possible, so
@@ -978,6 +978,7 @@ wlantap_dissect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_tree
" [cannot verify - not enough data]");
}
}
+#endif
/* dissect the 802.11 header next */
call_dissector((rflags & IEEE80211_RADIOTAP_F_DATAPAD) ?