playlist_list: initialize the "playlist" variable
Prevent access on uninitialized variable if the plugin list is empty.
This commit is contained in:
parent
ea616b3ed4
commit
e78370e050
@ -56,7 +56,7 @@ struct playlist_provider *
|
||||
playlist_list_open_uri(const char *uri)
|
||||
{
|
||||
char *scheme;
|
||||
struct playlist_provider *playlist;
|
||||
struct playlist_provider *playlist = NULL;
|
||||
|
||||
assert(uri != NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user