From: William A. Rowe Jr Date: Wed, 18 Dec 2002 22:22:08 +0000 (+0000) Subject: Resolve an unused variables warning on win32. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb1f1b09842bd078116d5597650eabec84af0751;p=thirdparty%2Fapache%2Fhttpd.git Resolve an unused variables warning on win32. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98030 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/main/alloc.c b/src/main/alloc.c index 94bb6d0c36e..ce1640f21ed 100644 --- a/src/main/alloc.c +++ b/src/main/alloc.c @@ -2720,11 +2720,13 @@ static void free_proc_chain(struct process_chain *procs) * whatever it was we're cleaning up now. This may involve killing * some of them off... */ - struct timeval tv; struct process_chain *p; int need_timeout = 0; - int timeout_interval; int status; +#if !defined(WIN32) && !defined(NETWARE) + int timeout_interval; + struct timeval tv; +#endif if (procs == NULL) return; /* No work. Whew! */ @@ -2841,5 +2843,5 @@ static void free_proc_chain(struct process_chain *procs) if (p->kill_how != kill_never) waitpid(p->pid, &status, 0); } -#endif /* WIN32 */ +#endif /* !WIN32 && !NETWARE*/ }