Browse Source

Vlib: add missing brackets

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72326 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 7 years ago
parent
commit
479535db94
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lib/vector/Vlib/write_ogr.c

+ 2 - 1
lib/vector/Vlib/write_ogr.c

@@ -136,9 +136,10 @@ int V1_delete_line_ogr(struct Map_info *Map, off_t offset)
     }
     
     if (OGR_L_DeleteFeature(ogr_info->layer,
-			    ogr_info->offset.array[offset]) != OGRERR_NONE)
+			    ogr_info->offset.array[offset]) != OGRERR_NONE) {
 	G_warning(_("Unable to delete feature"));
 	return -1;
+    }
     
     return 0;
 #else