Commit 92190c648a0b34a46061dce5cf056a125ede731b

Authored by ths
1 parent a86c8f29

Silence a spurious gcc warning.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2253 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
vnchextile.h
... ... @@ -119,7 +119,7 @@ static void CONCAT(send_hextile_tile_, NAME)(VncState *vs,
119 119 for (j = 0; j < h; j++) {
120 120 int has_color = 0;
121 121 int min_x = -1;
122   - pixel_t color;
  122 + pixel_t color = 0; /* shut up gcc */
123 123  
124 124 for (i = 0; i < w; i++) {
125 125 if (!has_color) {
... ...