summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tclClockFmt.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/generic/tclClockFmt.c b/generic/tclClockFmt.c
index d3cb339..d923ede 100644
--- a/generic/tclClockFmt.c
+++ b/generic/tclClockFmt.c
@@ -34,9 +34,6 @@ static void ClockFmtScnStorageDelete(ClockFmtScnStorage *fss);
static void ClockFrmScnFinalize(ClientData clientData);
-/* Msgcat index literals prefixed with _IDX_, used for quick dictionary search */
-CLOCK_LOCALE_LITERAL_ARRAY(MsgCtLitIdxs, "_IDX_");
-
/*
* Clock scan and format facilities.
*/
@@ -1906,7 +1903,7 @@ EstimateTokenCount(
#define AllocTokenInChain(tok, chain, tokCnt) \
if (++(tok) >= (chain) + (tokCnt)) { \
- *((char **)&chain) = ckrealloc((char *)(chain), \
+ chain = ckrealloc((char *)(chain), \
(tokCnt + CLOCK_MIN_TOK_CHAIN_BLOCK_SIZE) * sizeof(*(tok))); \
if ((chain) == NULL) { goto done; }; \
(tok) = (chain) + (tokCnt); \