diff options
author | dgp <dgp@users.sourceforge.net> | 2013-01-24 20:46:58 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-01-24 20:46:58 (GMT) |
commit | 1636248aac98f0e8780462863df25e3136e4c796 (patch) | |
tree | c660d6be6fcc444ee507cc448260b11411acde47 | |
parent | eae252da83b4af0e55e40abefe4e3d7ff8f1a370 (diff) | |
parent | c00162ab9a350bf30c176de949506a19f43f7fd7 (diff) | |
download | tcl-1636248aac98f0e8780462863df25e3136e4c796.zip tcl-1636248aac98f0e8780462863df25e3136e4c796.tar.gz tcl-1636248aac98f0e8780462863df25e3136e4c796.tar.bz2 |
Silence some compiler warnings.
-rw-r--r-- | generic/tclCkalloc.c | 4 | ||||
-rw-r--r-- | generic/tclExecute.c | 1 |
2 files changed, 4 insertions, 1 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 } } diff --git a/generic/tclExecute.c b/generic/tclExecute.c index 8a68e9b..978d026 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -7088,7 +7088,6 @@ TEBCresume( pc += (opnd-1); PUSH_OBJECT(Tcl_NewStringObj(bytes, length)); goto instEvalStk; - NEXT_INST_F(9, 0, 0); } } |