[postgis-tickets] r15583 - Fix uninitialized last_old_id
Regina Obe
lr at pcorp.us
Thu Aug 24 07:52:00 PDT 2017
Author: robe
Date: 2017-08-24 07:52:00 -0700 (Thu, 24 Aug 2017)
New Revision: 15583
Modified:
trunk/liblwgeom/lwunionfind.c
Log:
Fix uninitialized last_old_id
Closes #3817
Modified: trunk/liblwgeom/lwunionfind.c
===================================================================
--- trunk/liblwgeom/lwunionfind.c 2017-08-24 08:58:58 UTC (rev 15582)
+++ trunk/liblwgeom/lwunionfind.c 2017-08-24 14:52:00 UTC (rev 15583)
@@ -149,7 +149,7 @@
uint32_t last_old_id, current_new_id, i;
char encountered_cluster = LW_FALSE;
- current_new_id = 0;
+ current_new_id = 0; last_old_id = 0;
for (i = 0; i < uf->N; i++)
{
uint32_t j = ordered_components[i];
More information about the postgis-tickets
mailing list