]> xenbits.xensource.com Git - qemu-xen-3.4-testing.git/commitdiff
Silence a spurious gcc warning.
authorths <ths>
Thu, 21 Dec 2006 16:50:09 +0000 (16:50 +0000)
committerths <ths>
Thu, 21 Dec 2006 16:50:09 +0000 (16:50 +0000)
vnchextile.h

index 16a354d60a77711447f61d377bf7f1bd20657e54..aa575b7df8affabb7ade6bb8cb878d7e05fd5ee0 100644 (file)
@@ -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) {