mirror of https://gitee.com/openkylin/qemu.git
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:
parent
cecd8504b8
commit
78935c4a4b
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue