mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-25 11:36:51 +08:00
Remove compile warnings.
This commit is contained in:
@@ -878,8 +878,7 @@ namespace Learner
|
||||
next_move = search_pv[0];
|
||||
}
|
||||
|
||||
RANDOM_MOVE:;
|
||||
|
||||
// Random move.
|
||||
auto random_move = choose_random_move(pos, random_move_flag, ply, actual_random_move_count);
|
||||
if (random_move.has_value())
|
||||
{
|
||||
@@ -897,7 +896,7 @@ namespace Learner
|
||||
a_psv.clear();
|
||||
}
|
||||
|
||||
DO_MOVE:;
|
||||
// Do move.
|
||||
pos.do_move(next_move, states[ply]);
|
||||
|
||||
// Call node evaluate() for each difference calculation.
|
||||
|
||||
Reference in New Issue
Block a user