From 83ac65d855484abab8cca9f0a81269b60f39937f Mon Sep 17 00:00:00 2001 From: Cthulhu-throwaway <96153783+Cthulhu-throwaway@users.noreply.github.com> Date: Tue, 26 Jul 2022 13:03:23 -0300 Subject: [PATCH] (Vita) Silence warnings (#14226) --- network/netplay/netplay_frontend.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/network/netplay/netplay_frontend.c b/network/netplay/netplay_frontend.c index 9ec860646b..dc245be38d 100644 --- a/network/netplay/netplay_frontend.c +++ b/network/netplay/netplay_frontend.c @@ -450,6 +450,7 @@ bool netplay_discovery_driver_ctl( return true; } +#ifndef VITA /** Initialize Netplay discovery */ static bool init_lan_ad_server_socket(void) { @@ -479,6 +480,7 @@ static bool init_lan_ad_server_socket(void) return ret; } +#endif /** Deinitialize Netplay discovery */ static void deinit_lan_ad_server_socket(void) @@ -492,6 +494,7 @@ static void deinit_lan_ad_server_socket(void) } } +#ifndef VITA /** * netplay_lan_ad_server * @@ -622,6 +625,8 @@ static bool netplay_lan_ad_server(netplay_t *netplay) } #endif +#endif + /** * netplay_impl_magic: *