Skip to content

Commit

Permalink
lib/vector/Vlib: Initialize variable before using it in write_sfa mod…
Browse files Browse the repository at this point in the history
…ule (OSGeo#4696)
  • Loading branch information
ymdatta authored Nov 14, 2024
1 parent fa990b2 commit 91d652f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/vector/Vlib/write_sfa.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ void V2__add_line_to_topo_sfa(struct Map_info *Map, int line,
G_debug(3, "V2__add_line_to_topo_sfa(): line = %d npoints = %d", line,
points->n_points);

first = TRUE;
plus = &(Map->plus);
Line = plus->Line[line];
type = Line->type;
Expand Down

0 comments on commit 91d652f

Please sign in to comment.