From: Jouni Malinen Date: Thu, 26 Mar 2009 17:09:25 +0000 (+0200) Subject: Remove shadowed variable X-Git-Tag: hostap_0_7_0~405 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=21db94c5dce6a0048f2d1e5eff095c63d118f370;p=thirdparty%2Fhostap.git Remove shadowed variable --- diff --git a/hostapd/hostapd.c b/hostapd/hostapd.c index 1cf21cabc..8e1a943ce 100644 --- a/hostapd/hostapd.c +++ b/hostapd/hostapd.c @@ -1299,7 +1299,6 @@ static int setup_interface(struct hostapd_iface *iface) u8 *b = conf->bssid; int freq; size_t j; - int ret = 0; u8 *prev_addr; /* @@ -1433,7 +1432,7 @@ static int setup_interface(struct hostapd_iface *iface) return -1; } - return ret; + return 0; }