aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/hextileEncode.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/hextileEncode.h')
-rw-r--r--common/rfb/hextileEncode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/hextileEncode.h b/common/rfb/hextileEncode.h
index 9f8bd558..0d2e8aba 100644
--- a/common/rfb/hextileEncode.h
+++ b/common/rfb/hextileEncode.h
@@ -69,7 +69,7 @@ void HEXTILE_ENCODE(const Rect& r, rdr::OutStream* os
GET_IMAGE_INTO_BUF(t,buf);
- PIXEL_T bg, fg;
+ PIXEL_T bg = 0, fg = 0;
int tileType = TEST_TILE_TYPE(buf, t.width(), t.height(), &bg, &fg);
if (!oldBgValid || oldBg != bg) {