mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 10:06:26 +08:00
Assorted trivial cleanups (July 2019)
No functional change
This commit is contained in:
committed by
Stéphane Nicolet
parent
66a3c2968b
commit
7efc39d683
@@ -882,7 +882,7 @@ void Position::do_move(Move m, StateInfo& newSt, bool givesCheck) {
|
||||
if (end >= 4)
|
||||
{
|
||||
StateInfo* stp = st->previous->previous;
|
||||
for (int i=4; i <= end; i += 2)
|
||||
for (int i = 4; i <= end; i += 2)
|
||||
{
|
||||
stp = stp->previous->previous;
|
||||
if (stp->key == st->key)
|
||||
|
||||
Reference in New Issue
Block a user