]> git.sesse.net Git - stockfish/commit - src/movegen.cpp
Use if instead of goto
authorProkop Randáček <prokop@randacek.dev>
Wed, 12 May 2021 18:15:21 +0000 (20:15 +0200)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Wed, 19 May 2021 17:38:44 +0000 (19:38 +0200)
commit6b9a70ace8073f5ff4c50b4dd5ddc041cf9c819f
treee0691abffcef2e508c9f59fc55d5dbdab3d42c48
parent038487f95499665bf86ca5343d7a83f970d4b06e
Use if instead of goto

This PR inverts the if and removes goto in the generate_all function.

closes https://github.com/official-stockfish/Stockfish/pull/3461

No functional change
AUTHORS
src/movegen.cpp