summaryrefslogtreecommitdiffstats
path: root/generic/tclCkalloc.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-25 09:12:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-25 09:12:32 (GMT)
commit84707cf7026c7f710ca6ffd4d7a1e7bde4f9ca51 (patch)
tree93d71e0e3d9c75d1e0a055d9fb0c61a59c950344 /generic/tclCkalloc.c
parentd8b1866404f460a3010b2cb7db4d7f7c311e2b94 (diff)
parenta0eb86a8641d2f3b5ccc7946e7cce2b239fe8215 (diff)
downloadtcl-84707cf7026c7f710ca6ffd4d7a1e7bde4f9ca51.zip
tcl-84707cf7026c7f710ca6ffd4d7a1e7bde4f9ca51.tar.gz
tcl-84707cf7026c7f710ca6ffd4d7a1e7bde4f9ca51.tar.bz2
Merge trunk
Rename TclInitStubs back to Tcl_InitStubs, for easier compatibility with Tcl 8.
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 2268e45..ede0d67 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
}
}