mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 16:47:37 +00:00
Remove two obsolete asserts in prevents_move
Now that this function is called also to calculate move's extensions the asserts are no more valid. No functional change.
This commit is contained in:
@@ -1396,8 +1396,6 @@ split_point_start: // At split points actual search starts from here
|
|||||||
|
|
||||||
assert(is_ok(first));
|
assert(is_ok(first));
|
||||||
assert(is_ok(second));
|
assert(is_ok(second));
|
||||||
assert(!pos.is_capture_or_promotion(first));
|
|
||||||
assert(!pos.is_passed_pawn_push(first));
|
|
||||||
|
|
||||||
Square m1from = from_sq(first);
|
Square m1from = from_sq(first);
|
||||||
Square m2from = from_sq(second);
|
Square m2from = from_sq(second);
|
||||||
|
|||||||
Reference in New Issue
Block a user