summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvasiljevic <zv@archiware.com>2004-07-15 09:50:11 (GMT)
committervasiljevic <zv@archiware.com>2004-07-15 09:50:11 (GMT)
commit28904a633c00482f9f78346bb9d16f8d1ca2fbc4 (patch)
tree339f0a72f5dbfc823ca73d64751bfc5eef051209
parent8a36ed289c13c73edabc2470a9f2f7026931bce1 (diff)
downloadtcl-28904a633c00482f9f78346bb9d16f8d1ca2fbc4.zip
tcl-28904a633c00482f9f78346bb9d16f8d1ca2fbc4.tar.gz
tcl-28904a633c00482f9f78346bb9d16f8d1ca2fbc4.tar.bz2
Removed unused variable in NewThreadProc()
-rw-r--r--generic/tclEvent.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c
index 7ce54ef..9850fe6 100644
--- a/generic/tclEvent.c
+++ b/generic/tclEvent.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclEvent.c,v 1.40 2004/07/15 09:44:46 vasiljevic Exp $
+ * RCS: @(#) $Id: tclEvent.c,v 1.41 2004/07/15 09:50:11 vasiljevic Exp $
*/
#include "tclInt.h"
@@ -1252,7 +1252,8 @@ NewThreadProc(ClientData clientData)
ThreadClientData *cdPtr;
ClientData threadClientData;
Tcl_ThreadCreateProc *threadProc;
- ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey);
+
+ (void) TCL_TSD_INIT(&dataKey);
cdPtr = (ThreadClientData *)clientData;
threadProc = cdPtr->proc;