From 50df7bc21c60e505feac5e3434f7494b92d781c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 19 May 2021 22:57:47 +0300 Subject: [PATCH] remove redundant initializations --- wm.sql | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wm.sql b/wm.sql index e5ded07..0ecebca 100644 --- a/wm.sql +++ b/wm.sql @@ -254,8 +254,6 @@ declare j int4; multi geometry; begin - mutated = false; - <> for i in 1..array_length(bends, 1) loop continue when abs(inflection_angle(bends[i])) <= pi; @@ -312,7 +310,6 @@ declare p2 geometry; p3 geometry; begin - angle = 0; for p0 in select geom from st_dumppoints(bend) order by path[1] asc loop p3 = p2; p2 = p1; @@ -492,7 +489,6 @@ begin ); end if; - if mutated then lines[i] = st_linemerge(st_union(bends)); stagenum = stagenum + 1;