Fix some unused variable warnings

This commit is contained in:
Twinaphex 2015-03-21 06:23:00 +01:00
parent f1fe7559bc
commit e1fa004fcd
3 changed files with 5 additions and 0 deletions

View File

@ -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[

View File

@ -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)

View File

@ -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));