From 2e89d5b2824801ed49c62db9f6743f32593018bc Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 24 Jun 2018 05:11:00 +0200 Subject: Fix some warnings caused by static functions defined and unused Signed-off-by: Haru --- src/common/showmsg.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/showmsg.c') diff --git a/src/common/showmsg.c b/src/common/showmsg.c index 91f84e9d3..32d1e7610 100644 --- a/src/common/showmsg.c +++ b/src/common/showmsg.c @@ -739,6 +739,7 @@ static void showmsg_clearScreen(void) #endif } +#if 0 // Unused static int ShowMessage_(enum msg_type flag, const char *string, ...) __attribute__((format(printf, 2, 3))); static int ShowMessage_(enum msg_type flag, const char *string, ...) { @@ -749,6 +750,7 @@ static int ShowMessage_(enum msg_type flag, const char *string, ...) va_end(ap); return ret; } +#endif // Unused // direct printf replacement static void showmsg_showMessage(const char *string, ...) __attribute__((format(printf, 1, 2))); -- cgit v1.2.3-70-g09d2