diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-08-21 11:21:41 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-08-21 11:21:41 (GMT) |
commit | a01d9ef85f5007b1b16ebbcd84cdab572e1c4979 (patch) | |
tree | 3bebb54ad29feec21f15c975cef9c8cfb86a4bde /generic/tclThread.c | |
parent | c5a232b9f953492bfdbce26efb16fa279335a7e5 (diff) | |
parent | 811b14e555c23a063e1c1d0b17627a0484624234 (diff) | |
download | tcl-a01d9ef85f5007b1b16ebbcd84cdab572e1c4979.zip tcl-a01d9ef85f5007b1b16ebbcd84cdab572e1c4979.tar.gz tcl-a01d9ef85f5007b1b16ebbcd84cdab572e1c4979.tar.bz2 |
Eliminate (harmless) compiler warning. No functional change.
Diffstat (limited to 'generic/tclThread.c')
-rw-r--r-- | generic/tclThread.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclThread.c b/generic/tclThread.c index c2112b7..7882a48 100644 --- a/generic/tclThread.c +++ b/generic/tclThread.c @@ -304,7 +304,9 @@ void TclMutexUnlockAndFinalize( Tcl_Mutex *mutexPtr) { +#ifdef TCL_THREADS Tcl_Mutex mutex; +#endif TclpMasterLock(); TclpMutexLock(); #ifdef TCL_THREADS |