aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-05-10 11:03:35 -0700
committerGuy Harris <guy@alum.mit.edu>2015-05-10 18:03:57 +0000
commit19aaa18b2cf569523a1e29bfc72e0cbc3f9a9d9d (patch)
treeed64d44f885de93778b5f11dd8a7ff2392c8f55e /epan
parent7d4e0c73a3479560b6870f6d3cc7c2bdaab810b3 (diff)
Don't initialize a variable that's unused before we later set it.
Change-Id: I944cac044a8b091cbe5d85cd63a8c698a82b8559 Reviewed-on: https://code.wireshark.org/review/8388 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan')
-rw-r--r--epan/crypt/airpdcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/crypt/airpdcap.c b/epan/crypt/airpdcap.c
index ba57781a4a..5bf4bd63ba 100644
--- a/epan/crypt/airpdcap.c
+++ b/epan/crypt/airpdcap.c
@@ -313,7 +313,7 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption
guint8 key_version;
guint8 *szEncryptedKey;
guint16 key_bytes_len = 0; /* Length of the total key data field */
- guint16 key_len = 0; /* Actual group key length */
+ guint16 key_len; /* Actual group key length */
static AIRPDCAP_KEY_ITEM dummy_key; /* needed in case AirPDcapRsnaMng() wants the key structure */
AIRPDCAP_SEC_ASSOCIATION *tmp_sa;