firmware-utils: fix unused variable warnings
authorRafał Miłecki <rafal@milecki.pl>
Fri, 9 Apr 2021 05:38:46 +0000 (07:38 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Fri, 9 Apr 2021 08:46:15 +0000 (10:46 +0200)
commit7c01e2bac1c2df1e10658b81e903fbd687c1a56b
treea39b400e7e2a6f26ef27ecd1368618e1aee4a979
parente65b633a5b86928a00c5fe3b691144b351fe32cd
firmware-utils: fix unused variable warnings

This fixes warnings from the:
1. -Wunused-variable
2. -Wunused-but-set-variable

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
20 files changed:
tools/firmware-utils/src/bcmalgo.c
tools/firmware-utils/src/dns313-header.c
tools/firmware-utils/src/imagetag.c
tools/firmware-utils/src/mkcasfw.c
tools/firmware-utils/src/mkcsysimg.c
tools/firmware-utils/src/mkdniimg.c
tools/firmware-utils/src/mkfwimage2.c
tools/firmware-utils/src/mkmylofw.c
tools/firmware-utils/src/mkplanexfw.c
tools/firmware-utils/src/mkrtn56uimg.c
tools/firmware-utils/src/mktitanimg.c
tools/firmware-utils/src/mktplinkfw2.c
tools/firmware-utils/src/mkzcfw.c
tools/firmware-utils/src/mkzynfw.c
tools/firmware-utils/src/osbridge-crc.c
tools/firmware-utils/src/pc1crypt.c
tools/firmware-utils/src/spw303v.c
tools/firmware-utils/src/srec2bin.c
tools/firmware-utils/src/trx2edips.c
tools/firmware-utils/src/xorimage.c