From: Max Kellermann Date: Fri, 2 Oct 2009 05:36:56 +0000 (+0200) Subject: status_bar: initialize the "buffer" variable with --enable-mini X-Git-Tag: release-0.16~223 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b3ae43eb880b40d40435ff071184d3a62152485f;p=ncmpc.git status_bar: initialize the "buffer" variable with --enable-mini Move one #endif. --- diff --git a/src/status_bar.c b/src/status_bar.c index 5aaf04b..b778bc0 100644 --- a/src/status_bar.c +++ b/src/status_bar.c @@ -150,8 +150,8 @@ status_bar_paint(const struct status_bar *p, const struct mpd_status *status, time(&timep); strftime(buffer, sizeof(buffer), "%X ",localtime(&timep)); } else - buffer[0] = 0; #endif + buffer[0] = 0; } /* display song */