From d7d8660bbb7fd0e5a8f3da6631ec02512f0cb49a Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Sun, 6 Mar 2016 21:39:19 -0300 Subject: Clean up more unused variables Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- subsurface-core/macos.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'subsurface-core/macos.c') diff --git a/subsurface-core/macos.c b/subsurface-core/macos.c index fdfcebbde..8ca2c1c6f 100644 --- a/subsurface-core/macos.c +++ b/subsurface-core/macos.c @@ -16,7 +16,10 @@ #include void subsurface_user_info(struct user_info *info) -{ /* Nothing, let's use libgit2-20 on MacOS */ } +{ + (void) info; + /* Nothing, let's use libgit2-20 on MacOS */ +} /* macos defines CFSTR to create a CFString object from a constant, * but no similar macros if a C string variable is supposed to be @@ -41,6 +44,7 @@ void subsurface_OS_pref_setup(void) bool subsurface_ignore_font(const char *font) { + (void) font; // there are no old default fonts to ignore return false; } @@ -199,6 +203,7 @@ int subsurface_zip_close(struct zip *zip) /* win32 console */ void subsurface_console_init(bool dedicated) { + (void) dedicated; /* NOP */ } -- cgit v1.2.3-70-g09d2