Merge pull request #4401 from Beep6581/gcc8-warnings

Fix GCC 8 warnings
This commit is contained in:
Floessie
2018-02-15 20:54:43 +01:00
committed by GitHub
9 changed files with 29 additions and 21 deletions

View File

@@ -1270,7 +1270,7 @@ void ColorTemp::temp2mul (double temp, double green, double equal, double& rmul,
}
if (settings->verbose) {
double correl_temp;
double correl_temp = 0.0;
XYZtoCorColorTemp(Xwb, Ywb, Zwb, correl_temp);
printf("Correlated temperature (lamp)=%i\n", (int) correl_temp); //use only for lamp...otherwise It give an information!!
}