]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Eliminate warning about create_argv_cmd being unused. Code's topology needs work.
authorBen Hyde <bhyde@apache.org>
Sun, 17 Oct 1999 16:39:42 +0000 (16:39 +0000)
committerBen Hyde <bhyde@apache.org>
Sun, 17 Oct 1999 16:39:42 +0000 (16:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84000 13f79535-47bb-0310-9956-ffa450edef68

server/util_script.c

index ccc27b15689181ec93239329b1a35ec0c6752a72..1339dacc516314ebcf1c55bc600dfea4da9cbe7b 100644 (file)
@@ -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)
 {