mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-23 05:02:46 +00:00
Fix some unused variable warnings
This commit is contained in:
parent
f1fe7559bc
commit
e1fa004fcd
@ -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[
|
||||
|
@ -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)
|
||||
|
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user