#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:
Paul Ramsey 2012-11-14 21:31:10 +00:00
parent cd86fc540a
commit a9cdb02b8f

View file

@ -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. */