From af4e4a875acc4398a211b8e15ffa8ee40b1efdce Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Thu, 23 Dec 2010 12:19:55 +0000 Subject: [PATCH] return GRUB_ERR_NONE instead of setting grub_errno --- grub-core/term/gfxterm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/grub-core/term/gfxterm.c b/grub-core/term/gfxterm.c index 09363918a..8a75df93c 100644 --- a/grub-core/term/gfxterm.c +++ b/grub-core/term/gfxterm.c @@ -1235,9 +1235,7 @@ grub_gfxterm_background_color_cmd (grub_command_t cmd __attribute__ ((unused)), /* Mark whole screen as dirty. */ dirty_region_add (0, 0, window.width, window.height); - /* All was ok. */ - grub_errno = GRUB_ERR_NONE; - return grub_errno; + return GRUB_ERR_NONE; } static struct grub_term_output grub_video_term =