[GRASS-SVN] r33140 - grass/trunk/general/g.proj

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 28 11:44:48 EDT 2008


Author: glynn
Date: 2008-08-28 11:44:48 -0400 (Thu, 28 Aug 2008)
New Revision: 33140

Modified:
   grass/trunk/general/g.proj/main.c
Log:
Fix unused variable warnings #ifndef HAVE_OGR


Modified: grass/trunk/general/g.proj/main.c
===================================================================
--- grass/trunk/general/g.proj/main.c	2008-08-28 15:43:44 UTC (rev 33139)
+++ grass/trunk/general/g.proj/main.c	2008-08-28 15:44:48 UTC (rev 33140)
@@ -31,18 +31,22 @@
      *printproj4,		/* Print projection in PROJ.4 format        */
      *datuminfo,		/* Check if datum information is present    */
      *create,			/* Create new projection files              */
+#ifdef HAVE_OGR
      *printwkt,			/* Print projection in WKT format           */
      *esristyle,		/* Use ESRI-style WKT format                */
+#endif
      *dontprettify,		/* Print 'flat' output (no linebreaks)      */
      *forcedatumtrans;		/* Force override of datumtrans parameters  */
 
     struct Option *location,	/* Name of new location to create           */
+#ifdef HAVE_OGR
      *inepsg,			/* EPSG projection code                     */
-     *dtrans,			/* index to datum transform option          */
      *inwkt,			/* Input file with projection in WKT format */
      *inproj4,			/* Projection in PROJ.4 format              */
-     *ingeo;			/* Input geo-referenced file readable by 
+     *ingeo,			/* Input geo-referenced file readable by 
 				 * GDAL or OGR                              */
+#endif
+     *dtrans;			/* index to datum transform option          */
     struct GModule *module;
 
     int formats;



More information about the grass-commit mailing list