Fix exception in superellipse where precision_reached is used

with proper initialization
soc-2018-bevel
Rohan Rathi 5 years ago
parent 2922131971
commit e5880eb1ff

@ -5146,7 +5146,7 @@ static void find_even_superellipse_chords_general(int seg, float r, double *xval
double sum;
double temp;
bool precision_reached;
bool precision_reached = true; /* Exception: var used without being initialized */
bool seg_odd = seg % 2;
bool rbig;

Loading…
Cancel
Save