From 92f01aa2bd2b4e9644323cdbef8621682605660d Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sat, 17 Sep 2016 10:13:38 +0200 Subject: [PATCH 1/1] Fix a warning with MSVC warning C4706: assignment within conditional expression No functional change. --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 695cd7c1..6b12e3fe 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -506,7 +506,7 @@ void Thread::search() { if ( rootMoves.size() == 1 || Time.elapsed() > Time.optimum() * unstablePvFactor * improvingFactor / 628 - || (mainThread->easyMovePlayed = doEasyMove)) + || (mainThread->easyMovePlayed = doEasyMove, doEasyMove)) { // If we are allowed to ponder do not stop the search now but // keep pondering until the GUI sends "ponderhit" or "stop". -- 2.39.2