From: ths Date: Thu, 21 Dec 2006 16:50:09 +0000 (+0000) Subject: Silence a spurious gcc warning. X-Git-Tag: release_0_9_1~1642 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=04a99b2cb4592d32dbd895931425255671cf5a49;p=qemu-xen-4.5-testing.git Silence a spurious gcc warning. --- diff --git a/vnchextile.h b/vnchextile.h index 16a354d60..aa575b7df 100644 --- a/vnchextile.h +++ b/vnchextile.h @@ -119,7 +119,7 @@ static void CONCAT(send_hextile_tile_, NAME)(VncState *vs, for (j = 0; j < h; j++) { int has_color = 0; int min_x = -1; - pixel_t color; + pixel_t color = 0; /* shut up gcc */ for (i = 0; i < w; i++) { if (!has_color) {