Skip to content
Commit 9b0b5b57 authored by Marius Vlad's avatar Marius Vlad Committed by Pekka Paalanen
Browse files

noop-renderer: Remove volatile and use compiler attribute



clang-13 complains about bitwise xor assigments like the following:

../libweston/noop-renderer.c:62:25: warning: variable 'unused' set but
not used [-Wunused-but-set-variable] volatile unsigned char unused = 0;

Use the __attribute__((unused)) instead.

Suggested-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
parent db06aea1
Loading
Loading
Loading
Pipeline #587289 passed with stages
in 3 minutes and 46 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment