mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: replace (void) with UNUSED(x) and include ssrf.h
Unused parameters in C are "silenced" by adding UNUSED(x) Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
6e253fa04f
commit
061be82e31
21 changed files with 213 additions and 198 deletions
|
|
@ -1,6 +1,7 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* windows.c */
|
||||
/* implements Windows specific functions */
|
||||
#include "ssrf.h"
|
||||
#include <io.h>
|
||||
#include "dive.h"
|
||||
#include "display.h"
|
||||
|
|
@ -391,7 +392,7 @@ static struct {
|
|||
|
||||
void subsurface_console_init(void)
|
||||
{
|
||||
(void)console_desc;
|
||||
UNUSED(console_desc);
|
||||
/* if this is a console app already, do nothing */
|
||||
#ifndef WIN32_CONSOLE_APP
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue