diff options
author | DRC <dcommander@users.sourceforge.net> | 2011-11-03 17:51:01 +0000 |
---|---|---|
committer | DRC <dcommander@users.sourceforge.net> | 2011-11-03 17:51:01 +0000 |
commit | bf380e7eb90600fbce2279e4ac2efd3f3c8a7345 (patch) | |
tree | bb37126a528617b265d52256950ab7805e6318af /common/rfb/hextileEncode.h | |
parent | 4eb7420e410592d6753ee4dcdcb3834baad61f09 (diff) | |
download | tigervnc-bf380e7eb90600fbce2279e4ac2efd3f3c8a7345.tar.gz tigervnc-bf380e7eb90600fbce2279e4ac2efd3f3c8a7345.zip |
Fix compiler warnings uncovered with -Wall
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4755 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/hextileEncode.h')
-rw-r--r-- | common/rfb/hextileEncode.h | 2 |
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) { |