Fix exception in superellipse where precision_reached is used

with proper initialization
This commit is contained in:
Rohan Rathi
2018-06-13 21:56:15 +05:30
parent 2922131971
commit e5880eb1ff

View File

@@ -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;