Received: from eggs.gnu.org ([2001:4830:134:3::10]:49303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UqK3p-0007wL-GO for qemu-devel@nongnu.org; Sat, 22 Jun 2013 05:24:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UqK3j-0005II-W2 for qemu-devel@nongnu.org; Sat, 22 Jun 2013 05:24:45 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:53457) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UqK3j-0005IB-OW for qemu-devel@nongnu.org; Sat, 22 Jun 2013 05:24:39 -0400 From: Michael Tokarev Date: Sat, 22 Jun 2013 13:24:20 +0400 Message-Id: <1371893076-9643-2-git-send-email-mjt@msgid.tls.msk.ru> In-Reply-To: <1371893076-9643-1-git-send-email-mjt@msgid.tls.msk.ru> References: <1371893076-9643-1-git-send-email-mjt@msgid.tls.msk.ru> Subject: [Qemu-devel] [PULL 01/17] vl: reformat SDL ifdeffery a bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Michael Tokarev , qemu-devel@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 767e020..0a8f056 100644 --- a/vl.c +++ b/vl.c @@ -3472,12 +3472,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 -- 1.7.10.4