Browse Source

clean up leftover bits from interactive mode, again

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@45133 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 14 years ago
parent
commit
6b32764b50
2 changed files with 0 additions and 7 deletions
  1. 0 3
      imagery/i.rectify/global.h
  2. 0 4
      imagery/i.rectify/main.c

+ 0 - 3
imagery/i.rectify/global.h

@@ -28,11 +28,8 @@ struct cache
 
 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 *);

+ 0 - 4
imagery/i.rectify/main.c

@@ -34,11 +34,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;
@@ -206,7 +203,6 @@ int main(int argc, char *argv[])
     }
 
     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++) {