summaryrefslogtreecommitdiffstats
path: root/generic/tclCkalloc.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-01-24 19:09:33 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-01-24 19:09:33 (GMT)
commitc00162ab9a350bf30c176de949506a19f43f7fd7 (patch)
tree8b889838c48062a519915e50e2e227a7c581822a /generic/tclCkalloc.c
parent5025e386f4e080f615186dee9b4ef82d61eea79f (diff)
parent94605ca2706bce3bfe127eb4168ca135fd02b609 (diff)
downloadtcl-c00162ab9a350bf30c176de949506a19f43f7fd7.zip
tcl-c00162ab9a350bf30c176de949506a19f43f7fd7.tar.gz
tcl-c00162ab9a350bf30c176de949506a19f43f7fd7.tar.bz2
Silence come 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 5c0432d..5263e82 100644
--- a/generic/tclCkalloc.c
+++ b/generic/tclCkalloc.c
@@ -150,6 +150,10 @@ TclInitDbCkalloc(void)
if (!ckallocInit) {
ckallocInit = 1;
ckallocMutexPtr = Tcl_GetAllocMutex();
+#ifndef TCL_THREADS
+ /* Silence compiler warning */
+ (void)ckallocMutexPtr;
+#endif
}
}