From 28904a633c00482f9f78346bb9d16f8d1ca2fbc4 Mon Sep 17 00:00:00 2001 From: vasiljevic Date: Thu, 15 Jul 2004 09:50:11 +0000 Subject: Removed unused variable in NewThreadProc() --- generic/tclEvent.c | 5 +++-- 1 file 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; -- cgit v0.12