[QGIS Commit] r8466 - trunk/qgis/src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon May 19 09:32:11 EDT 2008


Author: timlinux
Date: 2008-05-19 09:32:10 -0400 (Mon, 19 May 2008)
New Revision: 8466

Modified:
   trunk/qgis/src/core/qgis.h
Log:
Removed the definition for UNUSED as I have replaced all UNUSED in the source tree with Q_UNUSED


Modified: trunk/qgis/src/core/qgis.h
===================================================================
--- trunk/qgis/src/core/qgis.h	2008-05-19 13:27:01 UTC (rev 8465)
+++ trunk/qgis/src/core/qgis.h	2008-05-19 13:32:10 UTC (rev 8466)
@@ -133,13 +133,6 @@
    *  or user (~/.qgis.qgis.db) defined projection. */
   const int USER_PROJECTION_START_ID=100000;
 
-#ifdef _MSC_VER
-// fake use to make unused variable warnings go away in Visual C++
-#define UNUSED(symbol) symbol
-#else
-#  define UNUSED(symbol)
-#endif
-
 // FIXME: also in qgisinterface.h
 #ifndef QGISEXTERN
 #ifdef WIN32



More information about the QGIS-commit mailing list