From: Marco Costalba Date: Sun, 14 Apr 2013 21:29:00 +0000 (+0200) Subject: Skip a redundant check X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=87436e55442e25c2b1d64def7e50a3acadac51dd Skip a redundant check Spotted by Joona No functional change. --- diff --git a/src/search.cpp b/src/search.cpp index 055ee877..1fe895d3 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -857,7 +857,7 @@ split_point_start: // At split points actual search starts from here && !captureOrPromotion && !inCheck && !dangerous - && move != ttMove + /* && move != ttMove Already implicit in the next condition */ && bestValue > VALUE_MATED_IN_MAX_PLY) { // Move count based pruning