fix no_frame unused warning when SDL is disable
PATCH 1/1 fix no_frame unused warning when SDL is disable
Signed-off-by Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
vl.c +2 -0
@@ -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
Blue Swirl
AppliedQuoted 16 lines · Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by Jean-Christophe PLAGNIOL-VILLARD <[email protected]>diff --git
a/vl.cb/vl.c
index 5f747cf..01d57d4 100644
---a/vl.c
+++b/vl.c
@@ -209,7 +209,9 @@ intgraphic_height= 600;
intgraphic_depth= 15;
#endif
static intfull_screen= 0;
+#ifdefCONFIG_SDL
static intno_frame= 0;
+#endif
intno_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.