Eliminate three more GCC warnings:

* wParam is unsigned. 
* newThread variable was unused
* setExtendedDesktopSize reason is signed, but result codes are not. 



git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3966 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/win/vncviewer/CConn.cxx b/win/vncviewer/CConn.cxx
index 5be15e8..af38e0f 100644
--- a/win/vncviewer/CConn.cxx
+++ b/win/vncviewer/CConn.cxx
@@ -198,7 +198,7 @@
         options.autoScaling = false;
         window->setAutoScaling(false);
       }
-      if (wParam == IDM_ZOOM_IN) {
+      if (wParam == (unsigned)IDM_ZOOM_IN) {
         for (int i = 0; i < scaleCount; i++)
           if (options.scale < scaleValues[i]) { 
             options.scale = scaleValues[i];
@@ -266,7 +266,7 @@
     return true;
   case IDM_NEWCONN:
     {
-      Thread* newThread = new CConnThread;
+      new CConnThread;
     }
     return true;
   case IDM_OPTIONS:
@@ -453,7 +453,7 @@
 void
 CConn::setExtendedDesktopSize(int reason, int result, int w, int h,
                               const rfb::ScreenSet& layout) {
-  if ((reason == reasonClient) && (result != resultSuccess)) {
+  if ((reason == (signed)reasonClient) && (result != (signed)resultSuccess)) {
     vlog.error("SetDesktopSize failed: %d", result);
     return;
   }