]> git.sesse.net Git - stockfish/blobdiff - src/movepick.cpp
Consistent use of anonymous namespace
[stockfish] / src / movepick.cpp
index 3f0837d94db2f1d95843a65a6244a38df998909d..84f26dbf7835c08a2794313aad91560d4e6f3991 100644 (file)
@@ -61,7 +61,7 @@ namespace {
       std::swap(*begin, *std::max_element(begin, end));
       return begin;
   }
-}
+} // namespace
 
 
 /// Constructors of the MovePicker class. As arguments we pass information
@@ -283,6 +283,8 @@ void MovePicker::generate_next_stage() {
 
   case EVASION: case QSEARCH_0: case QSEARCH_1: case PROBCUT: case RECAPTURE:
       stage = STOP;
+      /* Fall through */
+
   case STOP:
       end = cur + 1; // Avoid another next_phase() call
       return;