Skip to content

image-encoders: Change slightly check to make GCC 10 static analyser happy

Frediano Ziglio requested to merge fziglio/spice:mr_analyser into master

GCC 10 static analyser reports that "enc" can be used when NULL. Make code more clear about, this will remove the warning. The behaviour does not change.

Signed-off-by: Frediano Ziglio freddy77@gmail.com

Merge request reports