Silence some warnings with MSVC 2013

No functional change.
This commit is contained in:
Marco Costalba
2016-08-27 12:16:13 +02:00
parent 805afcbf3d
commit 0b944c7186
2 changed files with 3 additions and 1 deletions

View File

@@ -82,6 +82,8 @@ namespace {
// that's not already included in the queen promotion.
if (Type == QUIET_CHECKS && (StepAttacksBB[W_KNIGHT][to] & ksq))
*moveList++ = make<PROMOTION>(to - Delta, to, KNIGHT);
else
(void)ksq; // Silence a warning under MSVC
return moveList;
}