Fixed declaration warning to make the compiler happy.
@@ -434,12 +434,14 @@ clean:
* On success, the 1 is returned. */
static int
verify_static_content (const char *req) {
+ const char *nul = NULL;
+ const char *ext = NULL, *pch = NULL;
+ int elen = 0, i;
+
if ((req == NULL) || (*req == '\0'))
return 0;
- const char *nul = req + strlen (req);
- const char *ext = NULL, *pch = NULL;
- int elen = 0, i;
+ nul = req + strlen (req);
for (i = 0; i < conf.static_file_idx; ++i) {
ext = conf.static_files[i];
