From: Rafał Miłecki <[email protected]>
This fixes:
src/uimage_sgehdr.c: In function ‘main’:
src/uimage_sgehdr.c:76:6: warning: unused variable ‘ltmp’ [-Wunused-variable]
int ltmp;
^~~~
Signed-off-by: Rafał Miłecki <[email protected]>
---
src/uimage_sgehdr.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/uimage_sgehdr.c b/src/uimage_sgehdr.c
index 6d62c04..c15243e 100644
--- a/src/uimage_sgehdr.c
+++ b/src/uimage_sgehdr.c
@@ -73,7 +73,6 @@ int main(int argc, char *argv[])
char *hversion = NULL;
char *sversion = NULL;
int padsz = IH_PAD_BYTES;
- int ltmp;
while ((opt = getopt(argc, argv, "i:o:m:h:s:")) != -1) {
switch (opt) {
--
2.35.3
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel