From: Stéphane Nicolet Date: Mon, 4 Dec 2017 16:01:17 +0000 (+0100) Subject: Avoid warnings by the Clang compiler X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=54f6ce70fd68b38f053cd7d338bed1a74d92bb8b Avoid warnings by the Clang compiler Clang gave a couple of warnings for unused parameters after the recnet commit "Use constexpr when makes sense". No functional change. --- diff --git a/src/types.h b/src/types.h index bcfb70b4..3cb93a64 100644 --- a/src/types.h +++ b/src/types.h @@ -333,7 +333,7 @@ inline Square& operator-=(Square &s, Direction d) { return s = s - d; } /// Only declared but not defined. We don't want to multiply two scores due to /// a very high risk of overflow. So user should explicitly convert to integer. -Score operator*(Score s1, Score s2) = delete; +Score operator*(Score, Score) = delete; /// Division of a Score must be handled separately for each term inline Score operator/(Score s, int i) {