Merge pull request #265 from signalwire/set_illuminant_from_code
[SpanDSP] Fix use of uninitialized xyz variable in set_illuminant_from_code()
This commit is contained in:
commit
dc2b43fb74
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue