commit | 65b0dea9d8d44f8f357595be6f7327ecbe2011c6 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Mon May 24 11:47:01 2021 -0400 |
committer | Tom Rini <trini@konsulko.com> | Mon May 24 11:47:44 2021 -0400 |
tree | c9ac84543e513726385342335be2b25ac0ddd0e6 | |
parent | e80a4fdcf229f135db84fae878f4ed2ad788153c [diff] |
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: Tom Rini <trini@konsulko.com>