From bd43be9be680761d734558ce89fc7f38798ec7fd Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Sat, 4 Nov 2023 12:03:41 +0100 Subject: [PATCH] rename a local variable to make tcc happy --- src/token.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/token.c b/src/token.c index 648a08de..86538b0e 100644 --- a/src/token.c +++ b/src/token.c @@ -659,7 +659,7 @@ int get_last_used_index(const char *old_basename, const char *brkt) * action can be XINSERT or XDELETE to insert or remove items */ void hash_names(int inst, int action) { - int i, mult, start, stop; + int i, xmult, start, stop; char *upinst = NULL; char *upinst_ptr, *upinst_state, *single_name; dbg(1, "hash_names(): inst=%d, action=%d\n", inst, action); @@ -678,7 +678,7 @@ void hash_names(int inst, int action) start, stop, xctx->inst[inst].instname? xctx->inst[inst].instname : "NULL"); for(i = start; i < stop; ++i) { if(xctx->inst[i].instname && xctx->inst[i].instname[0]) { - my_strdup(_ALLOC_ID_, &upinst, expandlabel(xctx->inst[i].instname, &mult)); + my_strdup(_ALLOC_ID_, &upinst, expandlabel(xctx->inst[i].instname, &xmult)); strtoupper(upinst); upinst_ptr = upinst; @@ -702,11 +702,11 @@ void hash_names(int inst, int action) */ static int name_is_used(char *name, const char *old_basename, const char *brkt, int q) { - int mult, used = -1; + int xmult, used = -1; char *upinst = NULL; char *upinst_ptr, *upinst_state, *single_name; Int_hashentry *entry; - my_strdup(_ALLOC_ID_, &upinst, expandlabel(name, &mult)); + my_strdup(_ALLOC_ID_, &upinst, expandlabel(name, &xmult)); strtoupper(upinst); upinst_ptr = upinst; while( (single_name = my_strtok_r(upinst_ptr, ",", "", 0, &upinst_state)) ) {