From b4c33a05f64070f4fb5b7f239482efc7cf94ed1f Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Thu, 15 Dec 2016 08:31:27 +0100 Subject: [PATCH] Remove warning about unused variable --- core_info.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core_info.c b/core_info.c index f003973950..a1890dfe02 100644 --- a/core_info.c +++ b/core_info.c @@ -182,7 +182,9 @@ static bool core_info_list_iterate( struct string_list *contents, size_t i) { char info_path_base[PATH_MAX_LENGTH]; +#if defined(RARCH_MOBILE) || (defined(RARCH_CONSOLE) && !defined(PSP) && !defined(_3DS) && !defined(VITA)) char *substr = NULL; +#endif settings_t *settings = config_get_ptr(); if (!contents || !contents->elems[i].data)