firmware-utils: mkplanexfw: fix compiler warnings/errors
authorPetr Štetiar <ynezz@true.cz>
Mon, 22 Jul 2019 09:48:38 +0000 (11:48 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 23 Jul 2019 20:07:23 +0000 (22:07 +0200)
commitbd44ff4c1a7744a2fa259e7562e9fce3b9ee77c5
treec6ecffe6e9943ea1c2e526ad814dc9a3d5e5d088
parent8f93d2013c50a8dbba0543668351fac87d7c90b4
firmware-utils: mkplanexfw: fix compiler warnings/errors

mkplanexfw.c:108:21: error: unused variable ‘board’ [-Werror=unused-variable]
mkplanexfw.c:233:24: error: pointer targets in passing argument 2 of ‘sha1_update’ differ in signedness [-Werror=pointer-sign]
mkplanexfw.c:251:2: error: label ‘out_flush’ defined but not used [-Werror=unused-label]
mkplanexfw.c:224:2: error: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Werror=unused-result]

Signed-off-by: Petr Štetiar <ynezz@true.cz>
tools/firmware-utils/src/mkplanexfw.c