diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2003-05-13 12:39:48 (GMT) |
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2003-05-13 12:39:48 (GMT) |
| commit | e958810872f7eb0cb0493f5cf91c5905ac009275 (patch) | |
| tree | 0f03bece922b6af70c4b83c6d7cce76f91c65387 /generic/tclEvent.c | |
| parent | d77a65f2b2f7675c05221b5d1613041ee8c72867 (diff) | |
| download | tcl-e958810872f7eb0cb0493f5cf91c5905ac009275.zip tcl-e958810872f7eb0cb0493f5cf91c5905ac009275.tar.gz tcl-e958810872f7eb0cb0493f5cf91c5905ac009275.tar.bz2 | |
Removed unused variable to reduce compiler warnings. [Bug 664745]
Diffstat (limited to 'generic/tclEvent.c')
| -rw-r--r-- | generic/tclEvent.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c index 60b7d7f..003e5a2 100644 --- a/generic/tclEvent.c +++ b/generic/tclEvent.c @@ -11,7 +11,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.28 2003/02/22 09:23:16 vasiljevic Exp $ + * RCS: @(#) $Id: tclEvent.c,v 1.29 2003/05/13 12:39:50 dkf Exp $ */ #include "tclInt.h" @@ -763,13 +763,17 @@ void Tcl_Finalize() { ExitHandler *exitPtr; - ThreadSpecificData *tsdPtr; TclpInitLock(); if (subsystemsInitialized != 0) { subsystemsInitialized = 0; - tsdPtr = TCL_TSD_INIT(&dataKey); + /* + * Ensure the thread-specific data is initialised as it is + * used in Tcl_FinalizeThread() + */ + + (void) TCL_TSD_INIT(&dataKey); /* * Invoke exit handlers first. |
