From: Ray Strode Date: Thu, 6 Aug 2009 02:40:48 +0000 (-0400) Subject: [text-progress-bar] Don't initialize os_string X-Git-Tag: 0.7.0~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17cb6197d00d8baff896d188974270554dcafe7d;p=thirdparty%2Fplymouth.git [text-progress-bar] Don't initialize os_string It's not const, so initializing it with a string literal makes the compiler moan. At some point we should move os string getting to libply. --- diff --git a/src/libplybootsplash/ply-text-progress-bar.c b/src/libplybootsplash/ply-text-progress-bar.c index 04cb26c5..d46df11b 100644 --- a/src/libplybootsplash/ply-text-progress-bar.c +++ b/src/libplybootsplash/ply-text-progress-bar.c @@ -57,8 +57,7 @@ #define NUMBER_OF_INDICATOR_COLUMNS 6 -#define OS_STRING " " -char *os_string = OS_STRING; +static char *os_string; struct _ply_text_progress_bar {