From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:57120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSoxT-0004iC-Iu for qemu-devel@nongnu.org; Tue, 22 Nov 2011 06:56:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSoxS-00020n-BG for qemu-devel@nongnu.org; Tue, 22 Nov 2011 06:56:15 -0500 From: Markus Armbruster Date: Tue, 22 Nov 2011 12:56:10 +0100 Message-Id: <1321962970-2876-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PATCH] console: Fix qemu_default_pixelformat() for 24 bpp List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Stefano.Stabellini@eu.citrix.com Falls through to 32 bpp. Harmless, because the only difference is the alpha component, and we're not using that. Spotted by Coverity. Signed-off-by: Markus Armbruster --- console.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/console.c b/console.c index ce0429d..223f8fd 100644 --- a/console.c +++ b/console.c @@ -1688,6 +1688,7 @@ PixelFormat qemu_default_pixelformat(int bpp) pf.rbits = 8; pf.gbits = 8; pf.bbits = 8; + break; case 32: pf.rmask = 0x00FF0000; pf.gmask = 0x0000FF00; -- 1.7.6.4