]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[text-progress-bar] Don't initialize os_string
authorRay Strode <rstrode@redhat.com>
Thu, 6 Aug 2009 02:40:48 +0000 (22:40 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 6 Aug 2009 02:40:48 +0000 (22:40 -0400)
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

index 04cb26c5101f6359df88e0539979455a37834c3f..d46df11b47030c58f251cd1d13af842b8370695b 100644 (file)
@@ -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
 {