From 9d259476940be0a00738006143a561d216e5d274 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 29 Nov 2014 16:07:05 +0100 Subject: [PATCH] Take out fclose on early return since it was only there for when playlist is NULL --- playlist.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/playlist.c b/playlist.c index d1fa9d4419..3144044296 100644 --- a/playlist.c +++ b/playlist.c @@ -200,9 +200,6 @@ static bool content_playlist_read_file( if (!file) { - if (file) - fclose(file); - RARCH_WARN( "Playlist file does not exist, creating an empty playlist instead... (File: [%s])", path);