Browse Source

r.out.tiff: less compiler warnings

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58936 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 11 years ago
parent
commit
a3eb21ccb8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      raster/r.out.tiff/main.c

+ 2 - 1
raster/r.out.tiff/main.c

@@ -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 main(int argc, char *argv[])
     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;