mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 09:17:34 +00:00
[SpanDSP] Fix use of uninitialized xyz variable in set_illuminant_from_code()
This commit is contained in:
parent
0ec6ec10ae
commit
4fc6fc9b09
@ -397,7 +397,7 @@ int set_illuminant_from_code(logging_state_t *logging, lab_params_t *lab, const
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
int colour_temp;
|
int colour_temp;
|
||||||
float xyz[3];
|
float xyz[3] = { 0 };
|
||||||
|
|
||||||
if (memcmp(code, "CT", 2) == 0)
|
if (memcmp(code, "CT", 2) == 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user