From 2df9fc512cecfb3f16097190a234afcc10216722 Mon Sep 17 00:00:00 2001 From: Ben Hyde Date: Sun, 17 Oct 1999 16:39:42 +0000 Subject: [PATCH] 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 --- server/util_script.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.47.2