From 339bf9b7e1bf812b1756bb79c1ba7d7b5ea4dd9a Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Thu, 5 May 2011 11:55:28 +0200 Subject: [PATCH 1/1] Remove redundant assignment in search() It is already assigned few lines before. No functional change. Signed-off-by: Marco Costalba --- src/search.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 37793d60..58a82d9d 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1067,7 +1067,6 @@ split_point_start: // At split points actual search starts from here ss->reduction = reduction(depth, moveCount); if (ss->reduction) { - alpha = SpNode ? sp->alpha : alpha; Depth d = newDepth - ss->reduction; value = -search(pos, ss+1, -(alpha+1), -alpha, d); -- 2.39.2