[SpanDSP] Fix use of uninitialized xyz variable in set_illuminant_from_code()

This commit is contained in:
Andrey Volk 2020-01-26 18:32:18 +04:00
parent 0ec6ec10ae
commit 4fc6fc9b09
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ int set_illuminant_from_code(logging_state_t *logging, lab_params_t *lab, const
{
int i;
int colour_temp;
float xyz[3];
float xyz[3] = { 0 };
if (memcmp(code, "CT", 2) == 0)
{