From: Fabian Fichter Date: Fri, 22 May 2020 18:08:19 +0000 (+0200) Subject: Simplify redundant condition X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=c472e7952b0a0ada6ab73cb4f6bca92b17317836;p=fairystockfish.git Simplify redundant condition No functional change. --- diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 27a3b59..d26fb11 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -1005,7 +1005,7 @@ namespace { Value eg = eg_value(score); // No initiative bonus for extinction variants - if (pos.extinction_value() != VALUE_NONE || pos.must_capture() || pos.captures_to_hand() || pos.connect_n()) + if (pos.extinction_value() != VALUE_NONE || pos.captures_to_hand() || pos.connect_n()) return SCORE_ZERO; int outflanking = !pos.count(WHITE) || !pos.count(BLACK) ? 0