]> git.sesse.net Git - stockfish/blobdiff - src/notation.cpp
Sync some common names
[stockfish] / src / notation.cpp
index 371b08a1a264b2b4d3e41953a73c2ca7b3d45d41..a2c5aa68206ff5a2071a14f4092c58d33a823f86 100644 (file)
@@ -132,9 +132,9 @@ const string move_to_san(Position& pos, Move m) {
 
           while (b)
           {
-              Square sq = pop_lsb(&b);
-              if (!pos.legal(make_move(sq, to), pos.pinned_pieces(us)))
-                  others ^= sq;
+              Square s = pop_lsb(&b);
+              if (!pos.legal(make_move(s, to), pos.pinned_pieces(us)))
+                  others ^= s;
           }
 
           if (!others)