mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 00:52:40 +00:00
#2042, measures.c: 'pt_in_arc_A' may be used uninitialized
git-svn-id: http://svn.osgeo.org/postgis/trunk@10673 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
cd86fc540a
commit
a9cdb02b8f
|
@ -1320,6 +1320,11 @@ lw_dist2d_arc_arc(const POINT2D *A1, const POINT2D *A2, const POINT2D *A3,
|
|||
return LW_TRUE;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lwerror("lw_dist2d_arc_arc: arcs neither touch, intersect nor are disjoint! INCONCEIVABLE!");
|
||||
return LW_FALSE;
|
||||
}
|
||||
|
||||
/* Closest point is in the arc A, but not in the arc B, so */
|
||||
/* one of the B end points must be the closest. */
|
||||
|
|
Loading…
Reference in a new issue