Engine: Remove unnecessary unused warning suppressions

This commit is contained in:
Riyyi
2022-09-26 13:00:00 +02:00
parent f44c82d06e
commit 324da69bb2
2 changed files with 1 additions and 7 deletions
-6
View File
@@ -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
+1 -1
View File
@@ -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;