Skip to content
Snippets Groups Projects
Commit a2cfad8e authored by Tom Rini's avatar Tom Rini
Browse files

pylibfdt: Rework "avoid unused variable warning" lines


Clang has -Wself-assign enabled by default under -Wall and so when
building with -Werror we would get an error here.  Inspired by Linux
kernel git commit a21151b9d81a ("tools/build: tweak unused value
workaround") make use of the fact that both Clang and GCC support
casting to `void` as the method to note that something is intentionally
unused.

Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent eb53b943
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.
Finish editing this message first!
Please register or to comment