1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-08 12:15:49 +00:00

Silence warnings

This commit is contained in:
twinaphex 2017-04-28 15:32:15 +02:00
parent 98f6000ff6
commit d6ffd69ed0

View File

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