mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
(Wii) Fix warnings - unused values
This commit is contained in:
parent
c3fdd42fb0
commit
7ce598c891
@ -4268,6 +4268,9 @@ static void menu_action_setting_disp_set_label_shader_filter_pass(
|
|||||||
"Nearest"
|
"Nearest"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
(void)pass;
|
||||||
|
(void)modes;
|
||||||
|
|
||||||
*type_str = '\0';
|
*type_str = '\0';
|
||||||
*w = 19;
|
*w = 19;
|
||||||
strlcpy(path_buf, path, path_buf_size);
|
strlcpy(path_buf, path, path_buf_size);
|
||||||
@ -4311,6 +4314,8 @@ static void menu_action_setting_disp_set_label_shader_pass(
|
|||||||
{
|
{
|
||||||
unsigned pass = (type - MENU_SETTINGS_SHADER_PASS_0);
|
unsigned pass = (type - MENU_SETTINGS_SHADER_PASS_0);
|
||||||
|
|
||||||
|
(void)pass;
|
||||||
|
|
||||||
*type_str = '\0';
|
*type_str = '\0';
|
||||||
*w = 19;
|
*w = 19;
|
||||||
strlcpy(path_buf, path, path_buf_size);
|
strlcpy(path_buf, path, path_buf_size);
|
||||||
@ -4421,12 +4426,16 @@ static void menu_action_setting_disp_set_label_shader_scale_pass(
|
|||||||
const char *path,
|
const char *path,
|
||||||
char *path_buf, size_t path_buf_size)
|
char *path_buf, size_t path_buf_size)
|
||||||
{
|
{
|
||||||
unsigned pass, scale_value;
|
unsigned pass = 0;
|
||||||
|
unsigned scale_value = 0;
|
||||||
|
|
||||||
*type_str = '\0';
|
*type_str = '\0';
|
||||||
*w = 19;
|
*w = 19;
|
||||||
strlcpy(path_buf, path, path_buf_size);
|
strlcpy(path_buf, path, path_buf_size);
|
||||||
|
|
||||||
|
(void)pass;
|
||||||
|
(void)scale_value;
|
||||||
|
|
||||||
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_HLSL)
|
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_HLSL)
|
||||||
if (!driver.menu->shader)
|
if (!driver.menu->shader)
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user