← Commit list

baaa6e9e7

Glenn L McGrath
Glenn L McGrath
2003-09-15
FAILED Duration: 69s

Subject

Patch from Stephane Billiart to fix an unused variable warning.

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/httpd.c+3 -1
@@ -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);
}