From: Ben Hyde Date: Sun, 17 Oct 1999 16:39:42 +0000 (+0000) Subject: Eliminate warning about create_argv_cmd being unused. Code's topology needs work. X-Git-Tag: 1.3.10~252 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2df9fc512cecfb3f16097190a234afcc10216722;p=thirdparty%2Fapache%2Fhttpd.git Eliminate warning about create_argv_cmd being unused. Code's topology needs work. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84000 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/util_script.c b/server/util_script.c index ccc27b15689..1339dacc516 100644 --- a/server/util_script.c +++ b/server/util_script.c @@ -81,6 +81,7 @@ #define MALFORMED_MESSAGE "malformed header from script. Bad header=" #define MALFORMED_HEADER_LENGTH_TO_SHOW 30 +#if defined(OS2) || defined(WIN32) /* If a request includes query info in the URL (stuff after "?"), and * the query info does not contain "=" (indicative of a FORM submission), * then this routine is called to create the argument list to be passed @@ -135,7 +136,7 @@ static char **create_argv(ap_context_t *p, char *path, char *user, char *group, av[idx] = NULL; return av; } - +#endif /* defined(OS2) || defined(WIN32) */ static char *http2env(ap_context_t *a, char *w) {