From f00d9c6126f966751c6c6fb7ea7acf16a2c010bd Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Mon, 21 Jan 2019 19:06:41 +0000 Subject: [PATCH] Reformat slightly git-svn-id: http://svn.osgeo.org/postgis/trunk@17192 b70326c6-7e19-0410-871a-916f4a2858ee --- liblwgeom/cunit/cu_in_wkt.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/liblwgeom/cunit/cu_in_wkt.c b/liblwgeom/cunit/cu_in_wkt.c index 2faeb7ea9..d9996ac4d 100644 --- a/liblwgeom/cunit/cu_in_wkt.c +++ b/liblwgeom/cunit/cu_in_wkt.c @@ -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; -- 2.40.0