summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-01-24 20:46:58 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-01-24 20:46:58 (GMT)
commit1636248aac98f0e8780462863df25e3136e4c796 (patch)
treec660d6be6fcc444ee507cc448260b11411acde47
parenteae252da83b4af0e55e40abefe4e3d7ff8f1a370 (diff)
parentc00162ab9a350bf30c176de949506a19f43f7fd7 (diff)
downloadtcl-1636248aac98f0e8780462863df25e3136e4c796.zip
tcl-1636248aac98f0e8780462863df25e3136e4c796.tar.gz
tcl-1636248aac98f0e8780462863df25e3136e4c796.tar.bz2
Silence some compiler warnings.
-rw-r--r--generic/tclCkalloc.c4
-rw-r--r--generic/tclExecute.c1
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);
}
}