summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-19 21:11:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-19 21:11:42 (GMT)
commite5817145d28f886370ebdbf72b96ff6f2573dcad (patch)
tree814a6772c492b50611eb62238a8060eb2e4512bb
parente87ceb89576dc37f5f988edd8b27e2be84ecc918 (diff)
downloadtcl-e5817145d28f886370ebdbf72b96ff6f2573dcad.zip
tcl-e5817145d28f886370ebdbf72b96ff6f2573dcad.tar.gz
tcl-e5817145d28f886370ebdbf72b96ff6f2573dcad.tar.bz2
Fix [77f1088210fd739]: trunk: mac os x: compilation warnings
-rw-r--r--generic/tclExecute.c2
-rw-r--r--unix/tclUnixThrd.c8
2 files changed, 1 insertions, 9 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index 77b03ae..d696523 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -8918,7 +8918,7 @@ GetSrcInfoForPc(
int bestCmdIdx = -1;
/* The pc must point within the bytecode */
- assert (pcOffset < codePtr->numCodeBytes);
+ assert ((int)pcOffset < codePtr->numCodeBytes);
/*
* Decode the code and source offset and length for each command. The
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c
index a98af8e..74fdaed 100644
--- a/unix/tclUnixThrd.c
+++ b/unix/tclUnixThrd.c
@@ -160,14 +160,6 @@ PCondTimedWait(
}
#endif /* HAVE_PTHREAD_MUTEX_RECURSIVE */
-#ifndef TCL_NO_DEPRECATED
-typedef struct {
- char nabuf[16];
-} ThreadSpecificData;
-
-static Tcl_ThreadDataKey dataKey;
-#endif /* TCL_NO_DEPRECATED */
-
/*
* masterLock is used to serialize creation of mutexes, condition variables,
* and thread local storage. This is the only place that can count on the