]> granicus.if.org Git - postgis/commitdiff
Fix debug build
authorSandro Santilli <strk@keybit.net>
Thu, 27 Aug 2015 21:23:04 +0000 (21:23 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 27 Aug 2015 21:23:04 +0000 (21:23 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@14022 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/lwgeom_topo.c

index 1cf98555401705d025844fc46b8d794f8b4c51bd..77f71c266ffabdf83353620fb78e2acc9231d8e7 100644 (file)
 #endif
 
 /* TODO: move this to lwgeom_log.h */
-#define LWDEBUGG(level, geom, msg, ...) \
+#define LWDEBUGG(level, geom, msg) \
   if (POSTGIS_DEBUG_LEVEL >= level) \
   do { \
     size_t sz; \
     char *wkt1 = lwgeom_to_wkt(geom, WKT_ISO, 15, &sz); \
-    LWDEBUGF(level, msg ": %s", __VA_ARGS__ wkt1); \
+    LWDEBUGF(level, msg ": %s", wkt1); \
     lwfree(wkt1); \
   } while (0);
 
@@ -2883,7 +2883,7 @@ _lwt_FindNextRingEdge(const POINTARRAY *ring, int from,
     if ( ! match )
     {
       LWDEBUGF(1, "Edge %" LWTFMT_ELEMID " did not match as forward",
-                 isoe->edge_id;);
+                 isoe->edge_id);
       getPoint2d_p(epa, epa->npoints-1, &p2);
       LWDEBUGF(1, "Edge %" LWTFMT_ELEMID " 'last' point is %g,%g",
                   isoe->edge_id, p2.x, p2.y);