From: Glenn L McGrath Date: Mon, 15 Sep 2003 15:00:43 +0000 (-0000) Subject: Patch from Stephane Billiart to fix an unused variable warning. X-Git-Tag: 1_00_pre4~168 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=baaa6e9e7db3bc91fa0edbe98fdd14e1e3eb6bad;p=oweals%2Fbusybox.git Patch from Stephane Billiart to fix an unused variable warning. --- diff --git a/networking/httpd.c b/networking/httpd.c index b27437ab2..6f5100c9e 100644 --- a/networking/httpd.c +++ b/networking/httpd.c @@ -474,9 +474,11 @@ static void free_config_lines(Htaccess **pprev) static void parse_conf(const char *path, int flag) { FILE *f; +#if defined(CONFIG_FEATURE_HTTPD_BASIC_AUTH) || defined(CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES) Htaccess *cur; #ifdef CONFIG_FEATURE_HTTPD_BASIC_AUTH Htaccess *prev; +#endif #endif const char *cf = config->configFile; @@ -687,9 +689,9 @@ static void parse_conf(const char *path, int flag) prev = cur; } } -#endif #endif } +#endif } fclose(f); }