[GRASS-SVN] r45132 - grass/branches/develbranch_6/imagery/i.rectify
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jan 21 06:46:14 EST 2011
Author: mmetz
Date: 2011-01-21 03:46:14 -0800 (Fri, 21 Jan 2011)
New Revision: 45132
Modified:
grass/branches/develbranch_6/imagery/i.rectify/main.c
Log:
clean up leftover bits from interactive mode
Modified: grass/branches/develbranch_6/imagery/i.rectify/main.c
===================================================================
--- grass/branches/develbranch_6/imagery/i.rectify/main.c 2011-01-21 11:46:01 UTC (rev 45131)
+++ grass/branches/develbranch_6/imagery/i.rectify/main.c 2011-01-21 11:46:14 UTC (rev 45132)
@@ -51,8 +51,6 @@
*/
struct Cell_head target_window;
-#define NFILES 15
-
void err_exit(char *, char *);
/* modify this table to add new methods */
@@ -70,7 +68,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;
@@ -90,9 +87,6 @@
struct Flag *c, *a;
struct GModule *module;
- setbuf(stdout, NULL);
- setbuf(stderr, NULL);
-
G_gisinit(argv[0]);
module = G_define_module();
@@ -202,9 +196,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