]> git.sesse.net Git - stockfish/commit
Rename one variable
authorFauziAkram <fauzi.dabat@hotmail.com>
Fri, 25 Aug 2023 12:42:44 +0000 (15:42 +0300)
committerStéphane Nicolet <cassio@free.fr>
Sun, 3 Sep 2023 07:10:27 +0000 (09:10 +0200)
commitadf29b3fd69cdca035d1aa6675e01acafbf4d07f
treebc4b20c9070770e6894f6df5b02b65c4364b6571
parent1f7ff8406d323e634a2aa1e1264042340707cdd9
Rename one variable

To enhance code clarity and prevent potential confusion with the
'r' variable assigned to reduction later in the code, this pull
request renames it to 'reductionScale' when we use the same name
in the reduction() function.

Using distinct variable names for separate functions improves code
readability and maintainability.

closes https://github.com/official-stockfish/Stockfish/pull/4765

No functional change
src/search.cpp