Skip a redundant check
authorMarco Costalba <mcostalba@gmail.com>
Sun, 14 Apr 2013 21:29:00 +0000 (23:29 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 14 Apr 2013 21:29:25 +0000 (23:29 +0200)
Spotted by Joona

No functional change.

src/search.cpp

index 055ee8778be9ac8bfb8beaed1b727b54784bdbbf..1fe895d3cf576e66e622a3767decd3eceac138a5 100644 (file)
@@ -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