mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-29 15:32:01 +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;
|
||||
case DIR_LIST_SHADERS:
|
||||
{
|
||||
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_VULKAN)
|
||||
union string_list_elem_attr attr;
|
||||
#endif
|
||||
struct string_list *str_list = string_list_new();
|
||||
|
||||
if (!str_list)
|
||||
return NULL;
|
||||
|
||||
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_VULKAN)
|
||||
attr.i = 0;
|
||||
#endif
|
||||
|
||||
dir = input_dir;
|
||||
#ifdef HAVE_CG
|
||||
|
Loading…
x
Reference in New Issue
Block a user