diff options
author | dgp <dgp@users.sourceforge.net> | 2013-01-24 18:47:18 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-01-24 18:47:18 (GMT) |
commit | 94605ca2706bce3bfe127eb4168ca135fd02b609 (patch) | |
tree | 6cddb484bb177aee799a61c6c32efe39006e69b9 /generic/tclCkalloc.c | |
parent | c58c25ef079a96e684e2be9bdf78040c84c3cf9b (diff) | |
download | tcl-94605ca2706bce3bfe127eb4168ca135fd02b609.zip tcl-94605ca2706bce3bfe127eb4168ca135fd02b609.tar.gz tcl-94605ca2706bce3bfe127eb4168ca135fd02b609.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 a9d98ec..6de9720 100644 --- a/generic/tclCkalloc.c +++ b/generic/tclCkalloc.c @@ -149,6 +149,10 @@ TclInitDbCkalloc() if (!ckallocInit) { ckallocInit = 1; ckallocMutexPtr = Tcl_GetAllocMutex(); +#ifndef TCL_THREADS + /* Silence compiler warning */ + (void)ckallocMutexPtr; +#endif } } |