mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-26 21:54:22 +01:00
Codechange: Simplify some CodeQL-flagged trivial switches
This commit is contained in:
@@ -552,9 +552,7 @@ static CallBackFunction ToolbarSubsidiesClick(Window *w)
|
||||
*/
|
||||
static CallBackFunction MenuClickSubsidies(int index)
|
||||
{
|
||||
switch (index) {
|
||||
case 0: ShowSubsidiesList(); break;
|
||||
}
|
||||
ShowSubsidiesList();
|
||||
return CBF_NONE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user