Codechange: do not hide variables with other variables

This commit is contained in:
rubidium42
2023-01-28 20:06:51 +01:00
committed by rubidium42
parent 1951af07c0
commit 6ba55e663e
30 changed files with 137 additions and 146 deletions

View File

@@ -877,7 +877,7 @@ static int TranslateArgumentIdx(int argidx, int offset)
}
for (int i = sum = 0; i < argidx; i++) {
const CmdStruct *cs = _cur_pcs.cmd[i];
cs = _cur_pcs.cmd[i];
sum += (cs != nullptr) ? cs->consumes : 1;
}