17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-06 16:18:35 +01:00

refactor(sonar): remove empty statements, one declaration per statement (cpp:S1116, cpp:S1659)

This commit is contained in:
jerrrrycho
2026-10-10 15:03:30 +02:00
parent 3d46090e49
commit c4738dbc87
35 changed files with 315 additions and 180 deletions

View File

@@ -27,10 +27,10 @@ public:
void exit() override;
// input handlers
void on_key( int Key, int Scancode, int Action, int Mods ) override;
void on_cursor_pos( double const Horizontal, double const Vertical ) override { ; }
void on_mouse_button( int const Button, int const Action, int const Mods ) override { ; }
void on_scroll( double const Xoffset, double const Yoffset ) override { ; }
void on_cursor_pos( double const Horizontal, double const Vertical ) override { /* not handled by the launcher */ }
void on_mouse_button( int const Button, int const Action, int const Mods ) override { /* not handled by the launcher */ }
void on_scroll( double const Xoffset, double const Yoffset ) override { /* not handled by the launcher */ }
void on_window_resize( int w, int h ) override;
void on_event_poll() override { ; }
void on_event_poll() override { /* not handled by the launcher */ }
bool is_command_processor() const override { return false; }
};