mirror of
https://github.com/lammertb/libhttp.git
synced 2025-12-22 04:02:04 +03:00
Set #ifdef for unused variable
This commit is contained in:
@@ -3844,11 +3844,13 @@ interpret_uri(struct mg_connection *conn, /* in: request */
|
|||||||
const char *root = conn->ctx->config[DOCUMENT_ROOT];
|
const char *root = conn->ctx->config[DOCUMENT_ROOT];
|
||||||
const char *rewrite;
|
const char *rewrite;
|
||||||
struct vec a, b;
|
struct vec a, b;
|
||||||
char *p;
|
|
||||||
int match_len;
|
int match_len;
|
||||||
char gz_path[PATH_MAX];
|
char gz_path[PATH_MAX];
|
||||||
char const *accept_encoding;
|
char const *accept_encoding;
|
||||||
int truncated;
|
int truncated;
|
||||||
|
#if !defined(NO_CGI) || defined(USE_LUA)
|
||||||
|
char *p;
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
(void)filename_buf_len; /* unused if NO_FILES is defined */
|
(void)filename_buf_len; /* unused if NO_FILES is defined */
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user