From 26474599627fb9e41fa569324f01d133933cdb6e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 10 Nov 2015 00:40:23 +0100 Subject: [PATCH] Move some variables around --- retroarch.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/retroarch.c b/retroarch.c index 849cf01b60..2e343201ca 100644 --- a/retroarch.c +++ b/retroarch.c @@ -1496,9 +1496,6 @@ void rarch_playlist_load_content(void *data, unsigned idx) unsigned i; const char *core_path = NULL; const char *path = NULL; - char *path_check = NULL; - char *path_tolower = NULL; - RFILE *fp = NULL; content_playlist_t *playlist = (content_playlist_t*)data; settings_t *settings = config_get_ptr(); #ifdef HAVE_MENU @@ -1513,7 +1510,9 @@ void rarch_playlist_load_content(void *data, unsigned idx) if (path && path[0] != '\0') { - path_tolower = strdup(path); + RFILE *fp = NULL; + char *path_check = NULL; + char *path_tolower = strdup(path); for (i = 0; i < strlen(path_tolower); ++i) path_tolower[i] = tolower(path_tolower[i]);