projects
/
project
/
firmware-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6777b2d
)
uimage_sgehdr: drop unused "ltmp" variable
author
Rafał Miłecki
<rafal@milecki.pl>
Fri, 23 Feb 2024 06:18:38 +0000
(07:18 +0100)
committer
Rafał Miłecki
<rafal@milecki.pl>
Tue, 26 Mar 2024 09:16:30 +0000
(10:16 +0100)
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 <rafal@milecki.pl>
src/uimage_sgehdr.c
patch
|
blob
|
history
diff --git
a/src/uimage_sgehdr.c
b/src/uimage_sgehdr.c
index 6d62c048ec75ee9c7816578fabbd2b416d17cc4f..c15243e6c57e23b136d7685743f5cc1edb3e94b0 100644
(file)
--- 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) {