浏览代码

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 年之前
父节点
当前提交
a3eb21ccb8
共有 1 个文件被更改,包括 2 次插入1 次删除
  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;