mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
cirrus: delete GCC 4.6 warnings
Commit 92d675d1c1 triggered uninitialized
variables warning with GCC 4.6. Fix them by adding zero initializers.
Acked-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
+3
-3
@@ -673,9 +673,9 @@ static int cirrus_bitblt_videotovideo_patterncopy(CirrusVGAState * s)
|
||||
|
||||
static void cirrus_do_copy(CirrusVGAState *s, int dst, int src, int w, int h)
|
||||
{
|
||||
int sx, sy;
|
||||
int dx, dy;
|
||||
int depth;
|
||||
int sx = 0, sy = 0;
|
||||
int dx = 0, dy = 0;
|
||||
int depth = 0;
|
||||
int notify = 0;
|
||||
|
||||
/* make sure to only copy if it's a plain copy ROP */
|
||||
|
||||
Reference in New Issue
Block a user