From: Sandro Santilli Date: Fri, 8 Sep 2017 21:46:10 +0000 (+0000) Subject: Style only: remove trailing blanks X-Git-Tag: 2.4.0rc1~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac8a209f38872387ede78a91cff26dbac7240295;p=postgis Style only: remove trailing blanks git-svn-id: http://svn.osgeo.org/postgis/trunk@15670 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/lwgeom_api.c b/liblwgeom/lwgeom_api.c index 570e9e351..63e66450f 100644 --- a/liblwgeom/lwgeom_api.c +++ b/liblwgeom/lwgeom_api.c @@ -243,7 +243,7 @@ getPoint4d_p(const POINTARRAY *pa, int n, POINT4D *op) uint8_t *ptr; int zmflag; - if ( ! pa ) + if ( ! pa ) { lwerror("%s [%d] NULL POINTARRAY input", __FILE__, __LINE__); return 0; @@ -334,7 +334,7 @@ getPoint3dz_p(const POINTARRAY *pa, int n, POINT3DZ *op) { uint8_t *ptr; - if ( ! pa ) + if ( ! pa ) { lwerror("%s [%d] NULL POINTARRAY input", __FILE__, __LINE__); return 0; @@ -387,7 +387,7 @@ getPoint3dm_p(const POINTARRAY *pa, int n, POINT3DM *op) uint8_t *ptr; int zmflag; - if ( ! pa ) + if ( ! pa ) { lwerror("%s [%d] NULL POINTARRAY input", __FILE__, __LINE__); return 0; @@ -465,7 +465,7 @@ getPoint2d(const POINTARRAY *pa, int n) int getPoint2d_p(const POINTARRAY *pa, int n, POINT2D *point) { - if ( ! pa ) + if ( ! pa ) { lwerror("%s [%d] NULL POINTARRAY input", __FILE__, __LINE__); return 0; diff --git a/liblwgeom/lwpoint.c b/liblwgeom/lwpoint.c index b2d34fa10..4cffe5743 100644 --- a/liblwgeom/lwpoint.c +++ b/liblwgeom/lwpoint.c @@ -195,7 +195,7 @@ lwpoint_make(int srid, int hasz, int hasm, const POINT4D *p) void lwpoint_free(LWPOINT *pt) { if ( ! pt ) return; - + if ( pt->bbox ) lwfree(pt->bbox); if ( pt->point ) @@ -254,7 +254,7 @@ lwpoint_force_dims(const LWPOINT *point, int hasz, int hasm) { POINTARRAY *pdims = NULL; LWPOINT *pointout; - + /* Return 2D empty */ if( lwpoint_is_empty(point) ) {