aboutsummaryrefslogtreecommitdiffstats
path: root/src/list.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-03-16 06:41:48 +0000
committerEric Wong <normalperson@yhbt.net>2006-03-16 06:41:48 +0000
commitd7e846bdc2d848525ebd4251c4c5d9c5fe0d2705 (patch)
tree365df35512ce06651e590ee88a6ce3f3239afc8a /src/list.c
parent97e355e362da6cfe1e2c2245ba803b7468673c75 (diff)
downloadmpd-d7e846bdc2d848525ebd4251c4c5d9c5fe0d2705.tar.gz
mpd-d7e846bdc2d848525ebd4251c4c5d9c5fe0d2705.tar.xz
mpd-d7e846bdc2d848525ebd4251c4c5d9c5fe0d2705.zip
fix some uninitialized variables (found by valgrind)
git-svn-id: https://svn.musicpd.org/mpd/trunk@3925 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/list.c b/src/list.c
index 9161acdf2..e7e4a5899 100644
--- a/src/list.c
+++ b/src/list.c
@@ -51,6 +51,7 @@ List * makeList(ListFreeDataFunc * freeDataFunc, int strdupKeys) {
assert(list!=NULL);
+ list->sorted = 0;
list->firstNode = NULL;
list->lastNode = NULL;
list->freeDataFunc = freeDataFunc;