diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-04 14:17:14 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-10-04 14:17:19 +0200 |
commit | dea7e0275b4bb7604ed7d79c8f6f8f91804de8a6 (patch) | |
tree | ae5ebf8c056f73fefd682e44d30c37067a77b736 | |
parent | 46c0115361b8e63a74814b90b165e5fcb2ce284d (diff) | |
download | uhttpd-dea7e0275b4bb7604ed7d79c8f6f8f91804de8a6.tar.gz |
add an ifdef around a potentially unused variable
-rw-r--r-- | uhttpd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -429,7 +429,9 @@ static int uh_path_match(const char *prefix, const char *url) static bool uh_dispatch_request(struct client *cl, struct http_request *req) { struct path_info *pin; +#ifdef HAVE_CGI struct interpreter *ipr = NULL; +#endif struct config *conf = cl->server->conf; #ifdef HAVE_LUA |