Clean up more unused variables

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2016-03-06 21:39:19 -03:00 committed by Dirk Hohndel
parent 5bf0e48700
commit d7d8660bbb
6 changed files with 46 additions and 5 deletions

View file

@ -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 */
}