[geos-commits] r2941 - trunk/capi

svn_geos at osgeo.org svn_geos at osgeo.org
Tue Mar 16 09:13:38 EDT 2010


Author: strk
Date: 2010-03-16 09:13:37 -0400 (Tue, 16 Mar 2010)
New Revision: 2941

Modified:
   trunk/capi/geos_ts_c.cpp
Log:
Fix ST_IsValidDetail (broke by last commit)


Modified: trunk/capi/geos_ts_c.cpp
===================================================================
--- trunk/capi/geos_ts_c.cpp	2010-03-16 12:32:24 UTC (rev 2940)
+++ trunk/capi/geos_ts_c.cpp	2010-03-16 13:13:37 UTC (rev 2941)
@@ -691,11 +691,8 @@
            *location = handle->geomFactory->createPoint(err->getCoordinate());
            std::string errmsg(err->getMessage());
            *reason = gstrdup(errmsg);
+           return 0;
         }
-        else
-        {
-            return 0; /* invalid */
-        }
 
         *location = 0;
         *reason = 0;



More information about the geos-commits mailing list