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 | 2da34cb73820bcacd80766fc8970bbbb178405ba (patch) | |
tree | 3bebb54ad29feec21f15c975cef9c8cfb86a4bde /generic/tclThread.c | |
parent | bd0d6160701f8f71f52641ffe1e371dd204b8b51 (diff) | |
parent | 9f8346d54f1ce71d31c76d3181ca37bb6708bf7a (diff) | |
download | tcl-2da34cb73820bcacd80766fc8970bbbb178405ba.zip tcl-2da34cb73820bcacd80766fc8970bbbb178405ba.tar.gz tcl-2da34cb73820bcacd80766fc8970bbbb178405ba.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 |