#include <assert.h>
/* #define POSTGIS_DEBUG_LEVEL 4 */
+/* #define PARANOIA_LEVEL 2 */
#undef LWGEOM_PROFILE_MAKEVALID
}
}
+#if PARANOIA_LEVEL > 1
/*
* Now check if every point of input is also found
* in output, or abort by returning NULL
* Input geometry was lwgeom_in
*/
{
- const int paranoia = 2;
- /* TODO: check if the result is valid */
- if (paranoia)
- {
int loss;
GEOSGeometry *pi, *po, *pd;
lwnotice("Vertices lost in LWGEOM_GEOS_makeValid");
/* return NULL */
}
- }
}
+#endif /* PARANOIA_LEVEL > 1 */
return gout;