From 2c4b2c48c9501d3bc762062eabe190fcd207857e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 30 Sep 2009 16:30:08 +0200 Subject: [PATCH] mpdclient: initialize "retval" in mpdclient_update() --- src/mpdclient.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mpdclient.c b/src/mpdclient.c index aecf4f9..124c018 100644 --- a/src/mpdclient.c +++ b/src/mpdclient.c @@ -243,7 +243,8 @@ mpdclient_update(struct mpdclient *c) retval = mpdclient_playlist_update_changes(c); else retval = mpdclient_playlist_update(c); - } + } else + retval = true; /* update the current song */ if (!c->song || mpd_status_get_song_id(c->status)) { -- 2.30.2