summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvasiljevic <zv@archiware.com>2006-09-07 09:01:07 (GMT)
committervasiljevic <zv@archiware.com>2006-09-07 09:01:07 (GMT)
commit3785006abdc7eecf991f07162bbb1fdbf7534975 (patch)
tree715a3006c551da7279705424f7da17784c04a406
parent96e8b03225710ae3df0c32cb8056585a1ff6c1e5 (diff)
downloadtcl-3785006abdc7eecf991f07162bbb1fdbf7534975.zip
tcl-3785006abdc7eecf991f07162bbb1fdbf7534975.tar.gz
tcl-3785006abdc7eecf991f07162bbb1fdbf7534975.tar.bz2
Removed unused variables
-rw-r--r--unix/tclUnixSock.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/unix/tclUnixSock.c b/unix/tclUnixSock.c
index eae4906..5f1fade 100644
--- a/unix/tclUnixSock.c
+++ b/unix/tclUnixSock.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixSock.c,v 1.6.2.3 2006/09/07 08:50:36 vasiljevic Exp $
+ * RCS: @(#) $Id: tclUnixSock.c,v 1.6.2.4 2006/09/07 09:01:07 vasiljevic Exp $
*/
#include "tcl.h"
@@ -72,11 +72,6 @@ Tcl_GetHostName()
char buffer[sizeof(hostname)];
#endif
CONST char *native;
-#ifdef TCL_THREADS
- int buflen = 1024, herrno;
- char buf[1024];
- struct hostent he;
-#endif
Tcl_MutexLock(&hostMutex);
if (hostnameInited) {