mirror of
https://github.com/sheumann/hush.git
synced 2024-11-05 21:04:56 +00:00
Patch from Stephane Billiart to fix an unused variable warning.
This commit is contained in:
parent
a3822de23e
commit
baaa6e9e7d
@ -474,9 +474,11 @@ static void free_config_lines(Htaccess **pprev)
|
|||||||
static void parse_conf(const char *path, int flag)
|
static void parse_conf(const char *path, int flag)
|
||||||
{
|
{
|
||||||
FILE *f;
|
FILE *f;
|
||||||
|
#if defined(CONFIG_FEATURE_HTTPD_BASIC_AUTH) || defined(CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES)
|
||||||
Htaccess *cur;
|
Htaccess *cur;
|
||||||
#ifdef CONFIG_FEATURE_HTTPD_BASIC_AUTH
|
#ifdef CONFIG_FEATURE_HTTPD_BASIC_AUTH
|
||||||
Htaccess *prev;
|
Htaccess *prev;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const char *cf = config->configFile;
|
const char *cf = config->configFile;
|
||||||
@ -687,9 +689,9 @@ static void parse_conf(const char *path, int flag)
|
|||||||
prev = cur;
|
prev = cur;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
fclose(f);
|
fclose(f);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user