[GRASS-SVN] r58936 - grass/trunk/raster/r.out.tiff

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Feb 7 06:40:01 PST 2014


Author: neteler
Date: 2014-02-07 06:40:00 -0800 (Fri, 07 Feb 2014)
New Revision: 58936

Modified:
   grass/trunk/raster/r.out.tiff/main.c
Log:
r.out.tiff: less compiler warnings

Modified: grass/trunk/raster/r.out.tiff/main.c
===================================================================
--- grass/trunk/raster/r.out.tiff/main.c	2014-02-07 13:23:15 UTC (rev 58935)
+++ grass/trunk/raster/r.out.tiff/main.c	2014-02-07 14:40:00 UTC (rev 58936)
@@ -56,6 +56,7 @@
 
 #define MAX_TILE_LENGTH 512
 
+#undef howmany
 #define	howmany(x, y)	(((x)+((y)-1))/(y))
 #define	streq(a,b)	(strcmp(a,b) == 0)
 
@@ -74,7 +75,7 @@
     int in;
     struct rasterfile h;
     struct Option *inopt, *outopt, *compopt;
-    struct Flag *pflag, *lflag, *tflag, *wflag;
+    struct Flag *pflag, *lflag, *wflag; /* *tflag, */
     CELL *cell, *cellptr, *cells[MAX_TILE_LENGTH];
     struct Cell_head cellhd;
     struct GModule *module;



More information about the grass-commit mailing list