]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Minor WIN32 cleanups from Guido
authorhno <>
Sat, 30 Mar 2002 23:29:51 +0000 (23:29 +0000)
committerhno <>
Sat, 30 Mar 2002 23:29:51 +0000 (23:29 +0000)
src/globals.h
src/tools.cc

index f67ac28f5e6890f9a0a4fe4dbe34cc90141441ba..0b0c55ac339d0c4b6ef01df19b0b4580382ae272 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: globals.h,v 1.108 2001/10/17 20:25:02 hno Exp $
+ * $Id: globals.h,v 1.109 2002/03/30 16:29:51 hno Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -159,7 +159,7 @@ extern hash_table *proxy_auth_username_cache;       /* NULL */
 extern int incoming_sockets_accepted;
 #if defined(_SQUID_MSWIN_) || defined(_SQUID_CYGWIN_)
 extern unsigned int WIN32_OS_version;  /* 0 */
-extern char *WIN32_OS_string;
+extern char *WIN32_OS_string;          /* NULL */
 #endif
 
 #endif /* SQUID_GLOBALS_H */
index 6106f79427d1a50eed365bd12493172b81707bd8..083a0c69c08647e93956ca4b15127193698ff2fe 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: tools.cc,v 1.213 2001/11/17 11:09:25 hno Exp $
+ * $Id: tools.cc,v 1.214 2002/03/30 16:29:51 hno Exp $
  *
  * DEBUG: section 21    Misc Functions
  * AUTHOR: Harvest Derived
@@ -966,9 +966,7 @@ parseEtcHosts(void)
     char buf2[512];
     char *nt = buf;
     char *lt = buf;
-#if defined(_SQUID_MSWIN_) || defined(_SQUID_CYGWIN_)
-    char *systemroot = NULL;
-#endif
+
     if (NULL == Config.etcHostsPath)
        return;
     if (0 == strcmp(Config.etcHostsPath, "none"))