From: Vladimir 'phcoder' Serbinenko Date: Fri, 20 Nov 2009 13:30:58 +0000 (+0100) Subject: Fixed variable declarations X-Git-Tag: 1.98~93^2~62^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4dae692eb6afc9aed7bd7d6ee47824086def7e4;p=thirdparty%2Fgrub.git Fixed variable declarations --- diff --git a/term/gfxterm.c b/term/gfxterm.c index 3fc151c8b..5330c4ac4 100644 --- a/term/gfxterm.c +++ b/term/gfxterm.c @@ -323,6 +323,7 @@ grub_gfxterm_init (void) struct grub_video_mode_info mode_info; char *tmp; grub_err_t err; + grub_video_color_t color; /* If gfxterm has already been initialized by calling the init_window function, then leave it alone when it is set as the current terminal. */ @@ -702,7 +703,6 @@ scroll_up (void) else { grub_video_rect_t saved_view; - int i; grub_video_set_active_render_target (render_target); /* Save viewport and set it to our window. */