diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-06-19 18:47:35 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-06-19 18:47:35 +0000 |
commit | a3c2f53d617c8ac62fd883bab79b1789688bbeae (patch) | |
tree | 1bb1d49e5bd617abce454558411c1a7e0c4c4722 /epan/dissectors/packet-eap.c | |
parent | f5dd6a9c33978d534e942c6079a6b4823c6ce2d7 (diff) |
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37716 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-eap.c')
-rw-r--r-- | epan/dissectors/packet-eap.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-eap.c b/epan/dissectors/packet-eap.c index 23a5435c00..0bd7f8114d 100644 --- a/epan/dissectors/packet-eap.c +++ b/epan/dissectors/packet-eap.c @@ -619,7 +619,6 @@ static int dissect_eap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint8 eap_code; - guint8 eap_id; guint16 eap_len; guint8 eap_type; gint len; @@ -706,8 +705,6 @@ dissect_eap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (eap_code == EAP_FAILURE) conversation_state->leap_state = -1; - eap_id = tvb_get_guint8(tvb, 1); - eap_len = tvb_get_ntohs(tvb, 2); len = eap_len; |