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)
commit916d435d96216094259a369fa65b5db9cf2eaf4a (patch)
tree715a3006c551da7279705424f7da17784c04a406
parentf03502ae085efe1bf6e5ee93276366b1f94115d0 (diff)
downloadtcl-916d435d96216094259a369fa65b5db9cf2eaf4a.zip
tcl-916d435d96216094259a369fa65b5db9cf2eaf4a.tar.gz
tcl-916d435d96216094259a369fa65b5db9cf2eaf4a.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) {