Engine: Remove unnecessary unused warning suppressions
This commit is contained in:
@@ -184,9 +184,6 @@ bool Application::onWindowClose(WindowCloseEvent& e)
|
||||
|
||||
bool Application::onWindowResize(WindowResizeEvent& e)
|
||||
{
|
||||
// Suppress unused warning
|
||||
(void)e;
|
||||
|
||||
ruc::info("WindowResizeEvent {}x{}", e.getWidth(), e.getHeight());
|
||||
|
||||
RenderCommand::setViewport(0, 0, e.getWidth(), e.getHeight());
|
||||
@@ -196,9 +193,6 @@ bool Application::onWindowResize(WindowResizeEvent& e)
|
||||
|
||||
bool Application::onKeyPress(KeyPressEvent& e)
|
||||
{
|
||||
// Suppress unused warning
|
||||
(void)e;
|
||||
|
||||
ruc::info("KeyPressEvent {:3} {}", e.getKey(), keyName(e.getKey()));
|
||||
|
||||
// Stop the main loop on 'Escape' keypress
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
#include "inferno/application.h"
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
int main(int argc, char* argv[]) // NOLINT(misc-definitions-in-headers)
|
||||
{
|
||||
// Suppress unused warning
|
||||
(void)argc;
|
||||
|
||||
Reference in New Issue
Block a user