From: Colin Watson Date: Thu, 23 Dec 2010 12:19:55 +0000 (+0000) Subject: return GRUB_ERR_NONE instead of setting grub_errno X-Git-Tag: 2.00~1234^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af4e4a875acc4398a211b8e15ffa8ee40b1efdce;p=thirdparty%2Fgrub.git return GRUB_ERR_NONE instead of setting grub_errno --- 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 =