]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Fix build when ENABLE_FADE_OUT is defined in spinfinity
authorJonathan Greig <redteam316@gmail.com>
Mon, 16 Mar 2009 15:00:31 +0000 (11:00 -0400)
committerRay Strode <rstrode@redhat.com>
Mon, 16 Mar 2009 15:00:31 +0000 (11:00 -0400)
The variable "i" wasn't be declared, but was being used to
loop.

src/plugins/splash/spinfinity/plugin.c

index 604a7daf0e2e6aa10876b1ab01774804a3fac387..c900436084002c49ade1e41f2e6f511fe0c16cbd 100644 (file)
@@ -233,6 +233,7 @@ stop_animation (ply_boot_splash_plugin_t *plugin,
   ply_throbber_stop (plugin->throbber, trigger);
 
 #ifdef ENABLE_FADE_OUT
+  int i;
   for (i = 0; i < 10; i++)
     {
       ply_frame_buffer_fill_with_hex_color_at_opacity (plugin->frame_buffer, NULL,