summaryrefslogtreecommitdiffstats
path: root/subsurface-core/macos.c
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-06 21:39:19 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-07 11:21:44 -0800
commitd7d8660bbb7fd0e5a8f3da6631ec02512f0cb49a (patch)
treed5546bd47da8640c9c285eadd648a8af01bf4377 /subsurface-core/macos.c
parent5bf0e48700004c093f9f755d36ae1bec2ebb85d3 (diff)
downloadsubsurface-d7d8660bbb7fd0e5a8f3da6631ec02512f0cb49a.tar.gz
Clean up more unused variables
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/macos.c')
-rw-r--r--subsurface-core/macos.c7
1 files changed, 6 insertions, 1 deletions
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 <unistd.h>
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 */
}