lwpoly_construct_circle: Division by zero
|Reported by:||Algunenano||Owned by:||strk|
Delay calculating theta until after the number of segments is checked. Since the division by zero is undefined the compiler could optimize away the
if (segments_per_quarter < 1) check.
Github PR: https://github.com/postgis/postgis/pull/199