mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 16:46:30 +08:00
Fix issues detected by Coverity Scan
Most of Coverity Scan reports are false positives, but in rare cases we have confirmed (very small) issues. No functional change.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user