Skip to content
Snippets Groups Projects
Commit 1a4400e9 authored by Simon McVittie's avatar Simon McVittie
Browse files

graphics: Silence a compiler warning for a possible NULL dereference


vulkan_layer_dup() can return NULL if self is not a valid SrtVulkanLayer
(which would be undefined behaviour, and in fact we already checked
for that situation, but gcc 8 can't tell that). This results in a build
failure on Debian 10.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent a436c554
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment