]> granicus.if.org Git - postgis/commitdiff
Reformat slightly
authorPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 21 Jan 2019 19:06:41 +0000 (19:06 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 21 Jan 2019 19:06:41 +0000 (19:06 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@17192 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/cunit/cu_in_wkt.c

index 2faeb7ea9be21b90cf363f42d99f0ec03a26d6bf..d9996ac4d1b0362cbb8058d0810e959cd0f45c43 100644 (file)
@@ -54,11 +54,12 @@ static char* cu_wkt_in(char *wkt, uint8_t variant)
        char *s = 0;
 
        rv = lwgeom_parse_wkt(&p, wkt, 0);
-       if( p.errcode ) {
-         CU_ASSERT_EQUAL( rv, LW_FAILURE );
+       if (p.errcode)
+       {
+               CU_ASSERT_EQUAL(rv, LW_FAILURE);
                return strdup(p.message);
        }
-       CU_ASSERT_EQUAL( rv, LW_SUCCESS );
+       CU_ASSERT_EQUAL(rv, LW_SUCCESS);
        s = lwgeom_to_wkt(p.geom, variant, 8, NULL);
        lwgeom_parser_result_free(&p);
        return s;