diff options
author | 2006-12-21 16:50:09 +0000 | |
---|---|---|
committer | 2006-12-21 16:50:09 +0000 | |
commit | 92190c648a0b34a46061dce5cf056a125ede731b (patch) | |
tree | d0f4380afa8fbd8486eb31b1ea0311da1f748160 /vnchextile.h | |
parent | Fix compiler warnings, add signed versions of some swab functions. (diff) | |
download | qemu-kvm-92190c648a0b34a46061dce5cf056a125ede731b.tar.gz qemu-kvm-92190c648a0b34a46061dce5cf056a125ede731b.tar.bz2 qemu-kvm-92190c648a0b34a46061dce5cf056a125ede731b.zip |
Silence a spurious gcc warning.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2253 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vnchextile.h')
-rw-r--r-- | vnchextile.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |