[postgis-tickets] r14853 - Trim trailing whitespaces (as per .editorconfig)
Sandro Santilli
strk at keybit.net
Thu Apr 21 07:34:39 PDT 2016
Author: strk
Date: 2016-04-21 07:34:39 -0700 (Thu, 21 Apr 2016)
New Revision: 14853
Modified:
trunk/liblwgeom/lwgeom_topo.c
Log:
Trim trailing whitespaces (as per .editorconfig)
Modified: trunk/liblwgeom/lwgeom_topo.c
===================================================================
--- trunk/liblwgeom/lwgeom_topo.c 2016-04-18 08:42:16 UTC (rev 14852)
+++ trunk/liblwgeom/lwgeom_topo.c 2016-04-21 14:34:39 UTC (rev 14853)
@@ -943,7 +943,7 @@
*
* the nodes anode and anothernode are no more isolated
* because now there is an edge connecting them
- */
+ */
updated_nodes[0].node_id = startNode;
updated_nodes[0].containing_face = -1;
updated_nodes[1].node_id = endNode;
@@ -1409,7 +1409,7 @@
double myaz; /* azimuth of edgeend geometry */
} edgeend;
-/*
+/*
* Get first distinct vertex from endpoint
* @param pa the pointarray to seek points in
* @param ref the point we want to search a distinct one
@@ -1749,7 +1749,7 @@
/* interpolate if start point != end point */
if ( p2d_same(&fp, &lp) ) return 0; /* no distinct points in edge */
-
+
ip->x = fp.x + ( (lp.x - fp.x) * 0.5 );
ip->y = fp.y + ( (lp.y - fp.y) * 0.5 );
@@ -2456,10 +2456,10 @@
node->node_id, node->geom, start_node, end_node);
if ( node->node_id == start_node ) {
start_node_geom = node->geom;
- }
+ }
if ( node->node_id == end_node ) {
end_node_geom = node->geom;
- }
+ }
}
if ( ! skipChecks )
@@ -2655,7 +2655,7 @@
}
}
- /* Link prev_right to us
+ /* Link prev_right to us
* (if it's not us already) */
if ( llabs(prev_right) != newedge.edge_id )
{
@@ -5196,7 +5196,7 @@
_lwt_release_edges(edges, num);
lwerror("GEOS exception on Contains: %s", lwgeom_geos_errmsg);
return -1;
- }
+ }
if ( ! contains )
{{
double snaptol;
@@ -5541,7 +5541,7 @@
lwgeom_free(tmp); /* probably too late, due to internal lwerror */
return -1;
}
- if ( id )
+ if ( id )
{
lwgeom_free(tmp); /* possibly takes "edge" down with it */
return id;
@@ -5567,7 +5567,7 @@
lwgeom_free(tmp); /* probably too late, due to internal lwerror */
return -1;
}
- if ( id )
+ if ( id )
{
lwgeom_free(tmp); /* takes "edge" down with it */
return id;
More information about the postgis-tickets
mailing list