From 17cb6197d00d8baff896d188974270554dcafe7d Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Wed, 5 Aug 2009 22:40:48 -0400 Subject: [PATCH] [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. --- src/libplybootsplash/ply-text-progress-bar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 { -- 2.47.3