From e5c2dc5edd088fc614f0014219c8271840565c0c Mon Sep 17 00:00:00 2001 From: Shawn Xu Date: Mon, 29 Sep 2025 19:59:17 -0700 Subject: [PATCH] remove clang-format workaround closes https://github.com/official-stockfish/Stockfish/pull/6332 No functional change --- src/search.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 64f8ea189..6b2c28da2 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -585,10 +585,7 @@ Value Search::Worker::search( // Dive into quiescence search when the depth reaches zero if (depth <= 0) - { - constexpr auto nt = PvNode ? PV : NonPV; - return qsearch(pos, ss, alpha, beta); - } + return qsearch(pos, ss, alpha, beta); // Limit the depth if extensions made it too large depth = std::min(depth, MAX_PLY - 1);