diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-10-05 20:31:56 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-10-05 20:31:56 -0700 |
commit | 9c11f7dbdd3a0435bbc370f3b37bcc80960f74e7 (patch) | |
tree | 739a302e238e114b97f8e656447a259bd62d635c | |
parent | 8a2306146149d4d7915ed1346a7dbd908fb1048f (diff) | |
download | mpd-9c11f7dbdd3a0435bbc370f3b37bcc80960f74e7.tar.gz mpd-9c11f7dbdd3a0435bbc370f3b37bcc80960f74e7.tar.xz mpd-9c11f7dbdd3a0435bbc370f3b37bcc80960f74e7.zip |
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).
-rw-r--r-- | src/dbUtils.c | 5 |
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); |