From 7af1c537acf477d71d1f63df550d888abded13e7 Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Fri, 7 Jun 2019 09:52:15 +0100 Subject: [PATCH] wmail: fixed warnings about unused parameters. --- wmail/src/wmail.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wmail/src/wmail.c b/wmail/src/wmail.c index f4ae645..8eed554 100644 --- a/wmail/src/wmail.c +++ b/wmail/src/wmail.c @@ -549,6 +549,7 @@ static void RemoveChecksumFile( void ) static void ExitHandler( int sig ) { + (void) sig; caughtSig = 1; } @@ -1279,6 +1280,9 @@ static void DrawTickerBuildinFont( void ) static void ButtonPressed( int button, int state, int x, int y ) { + (void) button; + (void) state; + if( x >= 35 && x <= 59 && y >= 47 && y <= 59 ) { buttonPressed = true; forceRedraw = true; @@ -1291,6 +1295,9 @@ static void ButtonPressed( int button, int state, int x, int y ) static void ButtonReleased( int button, int state, int x, int y ) { + (void) button; + (void) state; + buttonPressed = false; forceRedraw = true;