Merge pull request #8021 from orbea/clang

Fix -Wmissing-braces warning with clang.
This commit is contained in:
Twinaphex 2019-01-16 22:29:00 +01:00 committed by GitHub
commit dd4bf2c41f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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';