Browse Source

v.what.rast: do not require level 2 (topology) - missing variable initialization

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70332 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 8 years ago
parent
commit
48fbf3cb7a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      vector/v.what.rast/main.c

+ 1 - 0
vector/v.what.rast/main.c

@@ -200,6 +200,7 @@ int main(int argc, char *argv[])
 
 
     G_important_message(_("Reading features from vector map..."));
     G_important_message(_("Reading features from vector map..."));
     Vect_set_constraint_type(&Map, vtype);
     Vect_set_constraint_type(&Map, vtype);
+    i = 0;
     while (TRUE) {
     while (TRUE) {
         /* register line */
         /* register line */
         type = Vect_read_next_line(&Map, Points, Cats);
         type = Vect_read_next_line(&Map, Points, Cats);