Fix compiler warnings uncovered with -Wall


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4755 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/rfb/PixelTransformer.cxx b/common/rfb/PixelTransformer.cxx
index c737f4d..ce799ac 100644
--- a/common/rfb/PixelTransformer.cxx
+++ b/common/rfb/PixelTransformer.cxx
@@ -143,7 +143,7 @@
 
 
 PixelTransformer::PixelTransformer(bool econ)
-  : economic(econ), cmCallback(0), table(0), transFn(0), cube(0)
+  : economic(econ), cmCallback(0), cube(0), table(0), transFn(0)
 {
 }
 
diff --git a/common/rfb/VNCSConnectionST.cxx b/common/rfb/VNCSConnectionST.cxx
index 34be0ef..1478ba5 100644
--- a/common/rfb/VNCSConnectionST.cxx
+++ b/common/rfb/VNCSConnectionST.cxx
@@ -636,8 +636,6 @@
 
 bool VNCSConnectionST::isCongested()
 {
-  int offset, space;
-
   if (sock->outStream().bufferUsage() > 0)
     return true;
 
diff --git a/common/rfb/hextileEncode.h b/common/rfb/hextileEncode.h
index 9f8bd55..0d2e8ab 100644
--- a/common/rfb/hextileEncode.h
+++ b/common/rfb/hextileEncode.h
@@ -69,7 +69,7 @@
 
       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) {