[GRASS-SVN] r45134 - grass/branches/develbranch_6/imagery/i.rectify

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jan 21 06:53:03 EST 2011


Author: mmetz
Date: 2011-01-21 03:53:03 -0800 (Fri, 21 Jan 2011)
New Revision: 45134

Modified:
   grass/branches/develbranch_6/imagery/i.rectify/global.h
   grass/branches/develbranch_6/imagery/i.rectify/main.c
Log:
clean up leftover bits from interactive mode, again

Modified: grass/branches/develbranch_6/imagery/i.rectify/global.h
===================================================================
--- grass/branches/develbranch_6/imagery/i.rectify/global.h	2011-01-21 11:52:49 UTC (rev 45133)
+++ grass/branches/develbranch_6/imagery/i.rectify/global.h	2011-01-21 11:53:03 UTC (rev 45134)
@@ -27,11 +27,8 @@
 };
 
 extern char *seg_mb;
-extern int temp_fd;
 extern RASTER_MAP_TYPE map_type;
-extern char *temp_name;
 extern int *ref_list;
-extern char **new_name;
 extern struct Ref ref;
 
 typedef void (*func) (struct cache *, void *, int, double *, double *, struct Cell_head *);

Modified: grass/branches/develbranch_6/imagery/i.rectify/main.c
===================================================================
--- grass/branches/develbranch_6/imagery/i.rectify/main.c	2011-01-21 11:52:49 UTC (rev 45133)
+++ grass/branches/develbranch_6/imagery/i.rectify/main.c	2011-01-21 11:53:03 UTC (rev 45134)
@@ -31,11 +31,8 @@
 
 char *seg_mb;
 
-int temp_fd;
 RASTER_MAP_TYPE map_type;
-char *temp_name;
 int *ref_list;
-char **new_name;
 struct Ref ref;
 
 func interpolate;
@@ -197,7 +194,6 @@
     }
 
     ref_list = (int *)G_malloc(ref.nfiles * sizeof(int));
-    new_name = (char **)G_malloc(ref.nfiles * sizeof(char *));
 
     if (a->answer) {
 	for (n = 0; n < ref.nfiles; n++) {



More information about the grass-commit mailing list