From 177c96a382b40ced2a085ce35eb8a1ad71a2560b Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Wed, 15 Jun 2016 17:07:10 +0200 Subject: [PATCH] Fix 'value stored to variable 'playlist' is never read' warning --- menu/cbs/menu_cbs_ok.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/cbs/menu_cbs_ok.c b/menu/cbs/menu_cbs_ok.c index b0d5a1f3ef..1726aeba53 100644 --- a/menu/cbs/menu_cbs_ok.c +++ b/menu/cbs/menu_cbs_ok.c @@ -573,7 +573,7 @@ static int action_ok_playlist_entry_collection(const char *path, size_t selection; menu_content_ctx_playlist_info_t playlist_info; size_t selection_ptr = 0; - playlist_t *playlist = g_defaults.history; + playlist_t *playlist = NULL; bool is_history = true; const char *entry_path = NULL; const char *entry_label = NULL;