aboutsummaryrefslogtreecommitdiff
path: root/vnchextile.h
diff options
context:
space:
mode:
Diffstat (limited to 'vnchextile.h')
-rw-r--r--vnchextile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnchextile.h b/vnchextile.h
index 16a354d60a..aa575b7df8 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) {