mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 17:46:26 +08:00
Small code reformat in TranspositionTable::extract_pv()
In particular don't use an array of StateInfo, this avoids a possible overflow and is in any case redundant. Also pass as argument the pv[] array size to avoid a second possible overflow on this one. Fix suggested by Joona. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Reference in New Issue
Block a user