agg: agg_curves.h: initialize m_distance_tolerance_square

fix PVS 730

Change-Id: I8dfe11d3f31cc6ef67b96955009c5a57eb5a427d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1997
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Ra-V2
2020-01-22 00:29:58 +00:00
committed by waddlesplash
parent 450f71e21e
commit 1773f0767e
+4 -2
View File
@@ -97,7 +97,8 @@ namespace agg
curve3_div() :
m_approximation_scale(1.0),
m_angle_tolerance(0.0),
m_count(0)
m_count(0),
m_distance_tolerance_square(0.0)
{}
curve3_div(double x1, double y1,
@@ -378,7 +379,8 @@ namespace agg
m_approximation_scale(1.0),
m_angle_tolerance(0.0),
m_cusp_limit(0.0),
m_count(0)
m_count(0),
m_distance_tolerance_square(0.0)
{}
curve4_div(double x1, double y1,