mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
Even though it practically should never happen, but just in case, and for silencing the analyzer, add an extra check here (which doesn't cost us much). | ../render/picture.c: In function ‘cpAlphaMap’: | ../render/picture.c:1002:30: warning: dereference of NULL ‘screen’ [CWE-476] [-Wanalyzer-null-dereference] | 1002 | id = res->info[screen->myNum].id; | | ~~~~~~^~~~~~~ Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>