From bc09245dee37a70e17a7d47a7f86f847eb8b1df3 Mon Sep 17 00:00:00 2001 From: orbea Date: Wed, 16 Jan 2019 13:14:48 -0800 Subject: [PATCH] Fix -Wmissing-braces warning with clang. --- playlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playlist.c b/playlist.c index cd73048c83..2bfb2fb603 100644 --- a/playlist.c +++ b/playlist.c @@ -928,7 +928,7 @@ static bool playlist_read_file( } else { - char buf[PLAYLIST_ENTRIES][1024] = {0}; + char buf[PLAYLIST_ENTRIES][1024] = {{0}}; for (i = 0; i < PLAYLIST_ENTRIES; i++) buf[i][0] = '\0';