diff --git a/menu/menu_entries_cbs_ok.c b/menu/menu_entries_cbs_ok.c index d1b71873a0..0a556a7326 100644 --- a/menu/menu_entries_cbs_ok.c +++ b/menu/menu_entries_cbs_ok.c @@ -1099,6 +1099,8 @@ static int action_ok_video_resolution(const char *path, const char *label, unsigned type, size_t idx) { global_t *global = global_get_ptr(); + + (void)global; #ifdef __CELLOS_LV2__ if (global->console.screen.resolutions.list[ diff --git a/menu/menu_entries_cbs_toggle.c b/menu/menu_entries_cbs_toggle.c index d935ab6d7d..88b9e3cab0 100644 --- a/menu/menu_entries_cbs_toggle.c +++ b/menu/menu_entries_cbs_toggle.c @@ -412,6 +412,8 @@ static int action_toggle_video_resolution(unsigned type, const char *label, { driver_t *driver = driver_get_ptr(); global_t *global = global_get_ptr(); + + (void)global; #if defined(__CELLOS_LV2__) switch (action) diff --git a/screenshot.c b/screenshot.c index 63beeb779e..8f1c6b6fd5 100644 --- a/screenshot.c +++ b/screenshot.c @@ -355,6 +355,7 @@ bool screenshot_dump(const char *folder, const void *frame, (void)file; (void)out_buffer; (void)scaler; + (void)global; fill_dated_filename(shotname, IMG_EXT, sizeof(shotname)); fill_pathname_join(filename, folder, shotname, sizeof(filename));