remove some reundant initializations

This commit is contained in:
Motiejus Jakštys 2021-05-19 22:57:47 +03:00 committed by Motiejus Jakštys
parent 1ff38c12e9
commit 9b36dc5cb2

2
wm.sql
View File

@ -255,7 +255,6 @@ declare
multi geometry; multi geometry;
begin begin
mutated = false; mutated = false;
<<bendloop>> <<bendloop>>
for i in 1..array_length(bends, 1) loop for i in 1..array_length(bends, 1) loop
continue when abs(inflection_angle(bends[i])) <= pi; continue when abs(inflection_angle(bends[i])) <= pi;
@ -492,7 +491,6 @@ begin
); );
end if; end if;
if mutated then if mutated then
lines[i] = st_linemerge(st_union(bends)); lines[i] = st_linemerge(st_union(bends));
stagenum = stagenum + 1; stagenum = stagenum + 1;