[GRASS-SVN] r36613 - grass/branches/develbranch_6/raster/r.drain
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Apr 7 16:20:56 EDT 2009
Author: neteler
Date: 2009-04-07 16:20:56 -0400 (Tue, 07 Apr 2009)
New Revision: 36613
Modified:
grass/branches/develbranch_6/raster/r.drain/main.c
Log:
fix compiler warning
Modified: grass/branches/develbranch_6/raster/r.drain/main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.drain/main.c 2009-04-07 19:16:56 UTC (rev 36612)
+++ grass/branches/develbranch_6/raster/r.drain/main.c 2009-04-07 20:20:56 UTC (rev 36613)
@@ -202,7 +202,6 @@
if (opt4->answer) {
G_message(_("Outputting a vector path"));
- /*vect = opt4->answer; */
if (G_legal_filename(opt4->answer) < 0)
G_fatal_error(_("<%s> is an illegal file name"), opt4->answer);
/*G_ask_vector_new("",vect); */
@@ -239,7 +238,7 @@
G_get_window(&window);
nrows = G_window_rows();
ncols = G_window_cols();
- if (vect) {
+ if (opt4->answer) {
Points = Vect_new_line_struct();
Cats = Vect_new_cats_struct();
}
More information about the grass-commit
mailing list