[GRASS-SVN] r45131 - grass/trunk/imagery/i.rectify
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jan 21 06:46:01 EST 2011
Author: mmetz
Date: 2011-01-21 03:46:01 -0800 (Fri, 21 Jan 2011)
New Revision: 45131
Modified:
grass/trunk/imagery/i.rectify/main.c
Log:
clean up leftover bits from interactive mode
Modified: grass/trunk/imagery/i.rectify/main.c
===================================================================
--- grass/trunk/imagery/i.rectify/main.c 2011-01-21 11:09:13 UTC (rev 45130)
+++ grass/trunk/imagery/i.rectify/main.c 2011-01-21 11:46:01 UTC (rev 45131)
@@ -15,7 +15,7 @@
* PURPOSE: calculate a transformation matrix and then convert x,y cell
* coordinates to standard map coordinates for each pixel in the
* image (control points can come from i.points or i.vpoints)
- * COPYRIGHT: (C) 2002-2006 by the GRASS Development Team
+ * COPYRIGHT: (C) 2002-2011 by the GRASS Development Team
*
* This program is free software under the GNU General Public
* License (>=v2). Read the file COPYING that comes with GRASS
@@ -54,8 +54,6 @@
*/
struct Cell_head target_window;
-#define NFILES 15 /* ??? */
-
void err_exit(char *, char *);
/* modify this table to add new methods */
@@ -75,7 +73,6 @@
int main(int argc, char *argv[])
{
char group[INAME_LEN], extension[INAME_LEN];
- char result[NFILES][15];
int order; /* ADDED WITH CRS MODIFICATIONS */
char *ipolname; /* name of interpolation method */
int method;
@@ -95,9 +92,6 @@
struct Flag *c, *a;
struct GModule *module;
- setbuf(stdout, NULL);
- setbuf(stderr, NULL);
-
G_gisinit(argv[0]);
module = G_define_module();
@@ -211,9 +205,6 @@
exit(EXIT_SUCCESS);
}
- for (i = 0; i < NFILES; i++)
- result[i][0] = 0;
-
ref_list = (int *)G_malloc(ref.nfiles * sizeof(int));
new_name = (char **)G_malloc(ref.nfiles * sizeof(char *));
More information about the grass-commit
mailing list