summaryrefslogtreecommitdiffstats
path: root/generic/tclCkalloc.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-01-24 20:46:58 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-01-24 20:46:58 (GMT)
commit1636248aac98f0e8780462863df25e3136e4c796 (patch)
treec660d6be6fcc444ee507cc448260b11411acde47 /generic/tclCkalloc.c
parenteae252da83b4af0e55e40abefe4e3d7ff8f1a370 (diff)
parentc00162ab9a350bf30c176de949506a19f43f7fd7 (diff)
downloadtcl-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.c4
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
}
}