forked from qt-creator/qt-creator
Fix coverity warning: Initialize result
Change-Id: I95a094ecd24e78dd452a58b0757a9ae69c81a555 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -144,7 +144,7 @@ LabelingInfo optLegibility(int k, double lmin, double lstep)
|
||||
|
||||
Axis Axis::compute(double dmin, double dmax, double height, double pt)
|
||||
{
|
||||
Axis result;
|
||||
Axis result = {0.0, 0.0, 0.0};
|
||||
|
||||
auto score = [](double a, double b, double c, double d) {
|
||||
return a * 0.2 + b * 0.25 + c * 0.5 + d * 0.05;
|
||||
|
Reference in New Issue
Block a user