Remove redundant variable from array_operation::evaluate
authorTom Tromey <tromey@adacore.com>
Mon, 28 Aug 2023 18:43:35 +0000 (12:43 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 29 Aug 2023 19:36:55 +0000 (13:36 -0600)
commit21bdf43aa282d25ceb462099caee5693192a8fda
treeedc34aa59abd1090d461c53e5e27259710a2adae
parent9c00ec6fe09c01df6d30fd67c3b12ee99394ee71
Remove redundant variable from array_operation::evaluate

In array_operation::evaluate, 'idx' and 'tem' are redundant in one
branch.  This patch merges them, using the clearer name.

Reviewed-by: John Baldwin <jhb@FreeBSD.org>
Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/eval.c