aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/dbUtils.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dbUtils.c b/src/dbUtils.c
index 4cb3edcca..246d27385 100644
--- a/src/dbUtils.c
+++ b/src/dbUtils.c
@@ -210,9 +210,8 @@ int addAllIn(const char *name)
int addAllInToStoredPlaylist(const char *name, const char *utf8file)
{
- struct add_data data = {
- .path = utf8file,
- };
+ struct add_data data;
+ data.path = utf8file;
return traverseAllIn(name, directoryAddSongToStoredPlaylist, NULL,
&data);