diff options
author | Tom Rini <trini@konsulko.com> | 2021-05-24 11:47:01 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-05-24 11:47:44 -0400 |
commit | a2cfad8ecc28923db6f826c01359c768980085e7 (patch) | |
tree | c9ac84543e513726385342335be2b25ac0ddd0e6 /test/cmd_ut.c | |
parent | eb53b943be2949ca111140a8e05532cd74cda058 (diff) | |
download | u-boot-a2cfad8ecc28923db6f826c01359c768980085e7.tar.gz u-boot-a2cfad8ecc28923db6f826c01359c768980085e7.tar.bz2 u-boot-a2cfad8ecc28923db6f826c01359c768980085e7.zip |
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>
Diffstat (limited to 'test/cmd_ut.c')
0 files changed, 0 insertions, 0 deletions