mirror of
https://github.com/libretro/RetroArch
synced 2025-04-24 06:02:36 +00:00
MSVC Buildfix - (#11913)
* Declare variables at the top of a function in C code
This commit is contained in:
parent
630dbdd85c
commit
47784c66f0
@ -79,11 +79,10 @@ static void task_wifi_disable_handler(retro_task_t *task)
|
||||
|
||||
static void task_wifi_disconnect_handler(retro_task_t *task)
|
||||
{
|
||||
wifi_network_info_t netinfo;
|
||||
if (!task)
|
||||
return;
|
||||
|
||||
wifi_network_info_t netinfo;
|
||||
|
||||
if (driver_wifi_connection_info(&netinfo))
|
||||
driver_wifi_disconnect_ssid(&netinfo);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user