Transform minKingPawnDistance into a local variable

minKingPawnDistance is used only as local variable in one place so we don't need it to be part of "Pawns::Entry" structure.

No functional change.

Resolves #277
This commit is contained in:
hxim
2015-03-07 09:03:19 +00:00
committed by Joona Kiiski
parent 856a5f3aaa
commit 3017e8c604
2 changed files with 4 additions and 5 deletions
-1
View File
@@ -67,7 +67,6 @@ struct Entry {
Bitboard pawnAttacks[COLOR_NB];
Square kingSquares[COLOR_NB];
Score kingSafety[COLOR_NB];
int minKingPawnDistance[COLOR_NB];
int castlingRights[COLOR_NB];
int semiopenFiles[COLOR_NB];
int pawnSpan[COLOR_NB];