From: Joost VandeVondele Date: Wed, 26 Apr 2017 00:19:23 +0000 (-0700) Subject: Zero unused constant X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=d06a8d0c188b796e115d503f85906fadb5625c70;hp=b48439e90643cb6f65f9e34d1421976883c12efc Zero unused constant No functional change Closes #1081 --- diff --git a/src/search.cpp b/src/search.cpp index db2d933d..b4405fcf 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -68,7 +68,8 @@ namespace { const int skipPhase[] = { 0, 1, 0, 1, 2, 3, 0, 1, 2, 3, 4, 5, 0, 1, 2, 3, 4, 5, 6, 7 }; // Razoring and futility margin based on depth - const int razor_margin[4] = { 483, 570, 603, 554 }; + // razor_margin[0] is unused as long as depth >= ONE_PLY in search + const int razor_margin[] = { 0, 570, 603, 554 }; Value futility_margin(Depth d) { return Value(150 * d / ONE_PLY); } // Futility and reductions lookup tables, initialized at startup