mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-06 11:38:23 +00:00
Silence warnings
This commit is contained in:
parent
98f6000ff6
commit
d6ffd69ed0
@ -108,13 +108,17 @@ struct string_list *dir_list_new_special(const char *input_dir,
|
|||||||
break;
|
break;
|
||||||
case DIR_LIST_SHADERS:
|
case DIR_LIST_SHADERS:
|
||||||
{
|
{
|
||||||
|
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_VULKAN)
|
||||||
union string_list_elem_attr attr;
|
union string_list_elem_attr attr;
|
||||||
|
#endif
|
||||||
struct string_list *str_list = string_list_new();
|
struct string_list *str_list = string_list_new();
|
||||||
|
|
||||||
if (!str_list)
|
if (!str_list)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_VULKAN)
|
||||||
attr.i = 0;
|
attr.i = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
dir = input_dir;
|
dir = input_dir;
|
||||||
#ifdef HAVE_CG
|
#ifdef HAVE_CG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user