diff options
author | dgp <dgp@users.sourceforge.net> | 2013-01-24 20:46:58 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-01-24 20:46:58 (GMT) |
commit | 1636248aac98f0e8780462863df25e3136e4c796 (patch) | |
tree | c660d6be6fcc444ee507cc448260b11411acde47 /generic/tclCkalloc.c | |
parent | eae252da83b4af0e55e40abefe4e3d7ff8f1a370 (diff) | |
parent | c00162ab9a350bf30c176de949506a19f43f7fd7 (diff) | |
download | tcl-1636248aac98f0e8780462863df25e3136e4c796.zip tcl-1636248aac98f0e8780462863df25e3136e4c796.tar.gz tcl-1636248aac98f0e8780462863df25e3136e4c796.tar.bz2 |
Silence some compiler warnings.
Diffstat (limited to 'generic/tclCkalloc.c')
-rw-r--r-- | generic/tclCkalloc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tclCkalloc.c b/generic/tclCkalloc.c index ab977cb..70e64f0 100644 --- a/generic/tclCkalloc.c +++ b/generic/tclCkalloc.c @@ -156,6 +156,10 @@ TclInitDbCkalloc(void) if (!ckallocInit) { ckallocInit = 1; ckallocMutexPtr = Tcl_GetAllocMutex(); +#ifndef TCL_THREADS + /* Silence compiler warning */ + (void)ckallocMutexPtr; +#endif } } |