[GRASS-SVN] r72326 - grass/trunk/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Mar 5 07:09:59 PST 2018
Author: mmetz
Date: 2018-03-05 07:09:58 -0800 (Mon, 05 Mar 2018)
New Revision: 72326
Modified:
grass/trunk/lib/vector/Vlib/write_ogr.c
Log:
Vlib: add missing brackets
Modified: grass/trunk/lib/vector/Vlib/write_ogr.c
===================================================================
--- grass/trunk/lib/vector/Vlib/write_ogr.c 2018-03-05 15:05:32 UTC (rev 72325)
+++ grass/trunk/lib/vector/Vlib/write_ogr.c 2018-03-05 15:09:58 UTC (rev 72326)
@@ -136,9 +136,10 @@
}
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
More information about the grass-commit
mailing list