]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commit
Mark the nfgenerated variable with NOWARN_UNUSED
authorThomas Huth <huth@tuxfamily.org>
Sat, 22 Aug 2020 08:11:18 +0000 (10:11 +0200)
committerThomas Huth <huth@tuxfamily.org>
Sat, 22 Aug 2020 08:11:18 +0000 (10:11 +0200)
commit88a781dd24dc059764361fe2c7ff2a1133fc9701
tree84c2e0de14be72dfc5e57b4f50d308f0f5494128
parentbaa9697d0d00fac1272700b9d5c375be505274ad
Mark the nfgenerated variable with NOWARN_UNUSED

The variable is only used if NOFLAGS_SUPPORT_GENCPU is not set, so GCC
emits a compiler warning about a set-but-unused variable here. Let's
use the NOWARN_UNUSED() macro to suppress the unnecessary warning in
this case.
gencpu.cpp