summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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