]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Resolve an unused variables warning on win32.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 18 Dec 2002 22:22:08 +0000 (22:22 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 18 Dec 2002 22:22:08 +0000 (22:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98030 13f79535-47bb-0310-9956-ffa450edef68

src/main/alloc.c

index 94bb6d0c36ef9c843cc5765ae5864b221b977bd5..ce1640f21ed00d5b1131254b783092543ea361e9 100644 (file)
@@ -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*/
 }