]> git.sesse.net Git - stockfish/blobdiff - src/endgame.cpp
Rename some variables for more clarity.
[stockfish] / src / endgame.cpp
index f683edc1615757776e15bbe4999770cbdfa851e9..9cc0c37211d470c76d11e6b54045e55c0ad3b756 100644 (file)
@@ -60,8 +60,8 @@ namespace {
   const int PushAway [8] = { 0, 5, 20, 40, 60, 80, 90, 100 };
 
 #ifndef NDEBUG
-  bool verify_material(const Position& pos, Color c, Value npm, int num_pawns) {
-    return pos.non_pawn_material(c) == npm && pos.count<PAWN>(c) == num_pawns;
+  bool verify_material(const Position& pos, Color c, Value npm, int pawnsCnt) {
+    return pos.non_pawn_material(c) == npm && pos.count<PAWN>(c) == pawnsCnt;
   }
 #endif