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