From: Jouni Malinen Date: Fri, 29 Mar 2013 19:24:10 +0000 (+0200) Subject: wlantest: Get rid of compiler warning X-Git-Tag: aosp-kk-from-upstream~408 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce26864e79144cba12d5ff98632570593cc57b8a;p=thirdparty%2Fhostap.git wlantest: Get rid of compiler warning Signed-hostap: Jouni Malinen --- diff --git a/wlantest/wlantest_cli.c b/wlantest/wlantest_cli.c index e932be199..a531b60ef 100644 --- a/wlantest/wlantest_cli.c +++ b/wlantest/wlantest_cli.c @@ -1213,7 +1213,6 @@ static int cmd_add_wepkey(int s, int argc, char *argv[]) { u8 resp[WLANTEST_CTRL_MAX_RESP_LEN]; u8 buf[100], *pos, *end; - size_t len; int rlen; if (argc < 1) { @@ -1221,7 +1220,6 @@ static int cmd_add_wepkey(int s, int argc, char *argv[]) return -1; } - len = os_strlen(argv[0]); pos = buf; end = buf + sizeof(buf); WPA_PUT_BE32(pos, WLANTEST_CTRL_ADD_PASSPHRASE);