From patchwork Sat Jun 15 10:45:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 251622 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B7F7E2C009A for ; Sat, 15 Jun 2013 20:46:05 +1000 (EST) Received: from localhost ([::1]:33395 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Unnzf-0000hR-MB for incoming@patchwork.ozlabs.org; Sat, 15 Jun 2013 06:46:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnnzQ-0000hK-HB for qemu-devel@nongnu.org; Sat, 15 Jun 2013 06:45:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnnzP-0005b1-Mg for qemu-devel@nongnu.org; Sat, 15 Jun 2013 06:45:48 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:37371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnnzP-0005aw-E7 for qemu-devel@nongnu.org; Sat, 15 Jun 2013 06:45:47 -0400 Received: from gandalf.tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by isrv.corpit.ru (Postfix) with ESMTP id B9E3F41740; Sat, 15 Jun 2013 14:45:46 +0400 (MSK) Received: by gandalf.tls.msk.ru (Postfix, from userid 1000) id 557B851B; Sat, 15 Jun 2013 14:45:46 +0400 (MSK) From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 15 Jun 2013 14:45:42 +0400 Message-Id: <1371293142-28190-1-git-send-email-mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 1.7.10.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 86.62.121.231 Cc: Michael Tokarev Subject: [Qemu-devel] [PATCH trivial] vl: reformat SDL ifdeffery a bit X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org This reformats #ifdef..#endif and case statement a bit, to make it a bit shorter and matching other cases like that (no code changes). Signed-off-by: Michael Tokarev --- vl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vl.c b/vl.c index f94ec9c..8d1f6ab 100644 --- a/vl.c +++ b/vl.c @@ -3534,12 +3534,11 @@ int main(int argc, char **argv, char **envp) case QEMU_OPTION_no_quit: no_quit = 1; break; -#ifdef CONFIG_SDL case QEMU_OPTION_sdl: +#ifdef CONFIG_SDL display_type = DT_SDL; break; #else - case QEMU_OPTION_sdl: fprintf(stderr, "SDL support is disabled\n"); exit(1); #endif