mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
5bf0e48700
commit
d7d8660bbb
6 changed files with 46 additions and 5 deletions
|
|
@ -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 */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue