diff --git a/menu/cbs/menu_cbs_ok.c b/menu/cbs/menu_cbs_ok.c index 0afa074df3..417c66b887 100644 --- a/menu/cbs/menu_cbs_ok.c +++ b/menu/cbs/menu_cbs_ok.c @@ -4310,19 +4310,19 @@ static int action_ok_core_updater_download(const char *path, return 0; } +#ifdef HAVE_NETWORKING static int action_ok_update_installed_cores(const char *path, const char *label, unsigned type, size_t idx, size_t entry_idx) { -#ifdef HAVE_NETWORKING /* Ensure networking is initialised */ generic_action_ok_command(CMD_EVENT_NETWORK_INIT); /* Push update task */ task_push_update_installed_cores(); -#endif return 0; } +#endif static int action_ok_sideload_core(const char *path, const char *label, unsigned type, size_t idx, size_t entry_idx)