From: Max Kellermann Date: Wed, 30 Sep 2009 14:30:08 +0000 (+0200) Subject: mpdclient: initialize "retval" in mpdclient_update() X-Git-Tag: release-0.16~282 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2c4b2c48c9501d3bc762062eabe190fcd207857e;p=ncmpc.git mpdclient: initialize "retval" in mpdclient_update() --- 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)) {