From patchwork Wed Jun 13 04:08:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/2] hostapd: remove redundant variable initialization Date: Tue, 12 Jun 2012 18:08:52 -0000 From: Baruch Siach X-Patchwork-Id: 164520 Message-Id: To: hostap@lists.shmoo.com The 'errors' variable is initialized later anyway. Signed-hostap: Baruch Siach --- hostapd/config_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hostapd/config_file.c b/hostapd/config_file.c index eab8ad4..65a53fe 100644 --- a/hostapd/config_file.c +++ b/hostapd/config_file.c @@ -2475,7 +2475,7 @@ struct hostapd_config * hostapd_config_read(const char *fname) int hostapd_set_iface(struct hostapd_config *conf, struct hostapd_bss_config *bss, char *field, char *value) { - int errors = 0; + int errors; size_t i; errors = hostapd_config_fill(conf, bss, field, value, 0);