From 9c11f7dbdd3a0435bbc370f3b37bcc80960f74e7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 5 Oct 2008 20:31:56 -0700 Subject: dbUtils: remove C99 initializer Upgrading a toolchain is still a nasty operation and they're never easy to build, so don't force people to upgrade from their old compilers (especially since some people are still stuck with Linux 2.4 and gcc 2.95). --- src/dbUtils.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/dbUtils.c') 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); -- cgit v1.2.3