diff options
author | dgp <dgp@users.sourceforge.net> | 2013-01-24 19:09:33 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-01-24 19:09:33 (GMT) |
commit | c00162ab9a350bf30c176de949506a19f43f7fd7 (patch) | |
tree | 8b889838c48062a519915e50e2e227a7c581822a /generic/tclCkalloc.c | |
parent | 5025e386f4e080f615186dee9b4ef82d61eea79f (diff) | |
parent | 94605ca2706bce3bfe127eb4168ca135fd02b609 (diff) | |
download | tcl-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.c | 4 |
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 } } |