Skip to contentSkip to conversation

fix no_frame unused warning when SDL is disable

PATCH Applied Jean-Christophe PLAGNIOL-VILLARD 2 participants 2 messages Nov 15, 2008 – Nov 16, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix no_frame unused warning when SDL is disable

vl.c +2 -0
index 5f747cf..01d57d4 100644
@@ -209,7 +209,9 @@ int graphic_height = 600;
 int graphic_depth = 15;
 #endif
 static int full_screen = 0;
+#ifdef CONFIG_SDL
 static int no_frame = 0;
+#endif
 int no_quit = 0;
 CharDriverState *serial_hds[MAX_SERIAL_PORTS];
 CharDriverState *parallel_hds[MAX_PARALLEL_PORTS];
Signature · 1 line
1.5.6.5
Applied
#1 lore raw
Quoted 16 lines · Jean-Christophe PLAGNIOL-VILLARD

diff --git a/vl.c b/vl.c
index 5f747cf..01d57d4 100644
--- a/vl.c
+++ b/vl.c
@@ -209,7 +209,9 @@ int graphic_height = 600;
int graphic_depth = 15;
#endif
static int full_screen = 0;
+#ifdef CONFIG_SDL
static int no_frame = 0;
+#endif
int no_quit = 0;
CharDriverState *serial_hds[MAX_SERIAL_PORTS]; CharDriverState *parallel_hds[MAX_PARALLEL_PORTS];

Thanks, applied as r5724. Actually I had an identical fix waiting for merging.