mirror of
https://github.com/libretro/RetroArch
synced 2025-02-26 15:39:55 +00:00
Prevent defined but not used warnings
This commit is contained in:
parent
b59f7c0276
commit
85802e6d5a
@ -103,13 +103,16 @@ struct command
|
||||
};
|
||||
|
||||
enum cmd_source_t { cmd_none, cmd_stdin, cmd_network };
|
||||
#if defined(HAVE_STDIN_CMD) || defined(HAVE_NETWORK_CMD) && defined(HAVE_NETPLAY)
|
||||
static enum cmd_source_t lastcmd_source;
|
||||
#endif
|
||||
#if defined(HAVE_NETWORK_CMD) && defined(HAVE_NETPLAY)
|
||||
static int lastcmd_net_fd;
|
||||
static struct sockaddr_storage lastcmd_net_source;
|
||||
static socklen_t lastcmd_net_source_len;
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_STDIN_CMD) || defined(HAVE_NETWORK_CMD) && defined(HAVE_NETPLAY)
|
||||
static bool command_reply(const char * data, size_t len)
|
||||
{
|
||||
#ifdef HAVE_STDIN_CMD
|
||||
@ -128,6 +131,7 @@ static bool command_reply(const char * data, size_t len)
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
struct cmd_map
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user