aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2011-01-26 21:29:28 +0200
committerJouni Malinen <j@w1.fi>2011-01-26 21:29:28 +0200
commitdfaeda049203eea631f0a916f49fadf08cd5cd6f (patch)
treeddd85aff44985ce33c91aabde238ba77f521b745 /wlantest
parent4e062e35def70bbdd611b886edaa4a4c0b1ab040 (diff)
downloadexternal_wpa_supplicant_8_ti-dfaeda049203eea631f0a916f49fadf08cd5cd6f.zip
external_wpa_supplicant_8_ti-dfaeda049203eea631f0a916f49fadf08cd5cd6f.tar.gz
external_wpa_supplicant_8_ti-dfaeda049203eea631f0a916f49fadf08cd5cd6f.tar.bz2
Fix couple of compiler warnings about uninitialized variables
Diffstat (limited to 'wlantest')
-rw-r--r--wlantest/process.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/wlantest/process.c b/wlantest/process.c
index 974529c..a4dd87d 100644
--- a/wlantest/process.c
+++ b/wlantest/process.c
@@ -80,11 +80,13 @@ static struct wlantest_sta * rx_get_sta(struct wlantest *wt,
} else
return NULL;
break;
+ default:
+ return NULL;
}
bss = bss_find(wt, bssid);
if (bss == NULL)
- return 0;
+ return NULL;
return sta_find(bss, sta_addr);
}