[QGIS Commit] r13558 - trunk/qgis/src/plugins/georeferencer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon May 24 07:22:07 EDT 2010


Author: jef
Date: 2010-05-24 07:22:06 -0400 (Mon, 24 May 2010)
New Revision: 13558

Modified:
   trunk/qgis/src/plugins/georeferencer/qgsgeorefplugingui.cpp
Log:
fix warnings

Modified: trunk/qgis/src/plugins/georeferencer/qgsgeorefplugingui.cpp
===================================================================
--- trunk/qgis/src/plugins/georeferencer/qgsgeorefplugingui.cpp	2010-05-24 11:02:37 UTC (rev 13557)
+++ trunk/qgis/src/plugins/georeferencer/qgsgeorefplugingui.cpp	2010-05-24 11:22:06 UTC (rev 13558)
@@ -1219,7 +1219,7 @@
     return false;
   }
 
-  int nPointsEnabled = 0;
+  unsigned int nPointsEnabled = 0;
   QgsGCPList::const_iterator gcpIt = mPoints.constBegin();
   for ( ; gcpIt != mPoints.constEnd(); ++gcpIt )
   {
@@ -1241,7 +1241,6 @@
 
   double sumVxSquare = 0;
   double sumVySquare = 0;
-  double resXMap, resYMap;
 
   gcpIt = mPoints.constBegin();
   for ( ; gcpIt != mPoints.constEnd(); ++gcpIt )



More information about the QGIS-commit mailing list