projects
/
carl9170fw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2f3394
)
carl9170 tools: fix error code propagation
author
Christian Lamparter
<chunkeey@googlemail.com>
Fri, 6 May 2011 20:15:29 +0000
(22:15 +0200)
committer
Christian Lamparter
<chunkeey@googlemail.com>
Fri, 6 May 2011 20:15:29 +0000
(22:15 +0200)
eeprom_fix.c: In function ‘get_addr’:
eeprom_fix.c:44:6: warning: variable ‘err’ set but not us
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
tools/src/eeprom_fix.c
patch
|
blob
|
history
diff --git
a/tools/src/eeprom_fix.c
b/tools/src/eeprom_fix.c
index 263ffb1f37b3a93e616237b8f8fb5055c9b13d52..088510edcc87e60b6ac0dc318590a7ff48232def 100644
(file)
--- a/
tools/src/eeprom_fix.c
+++ b/
tools/src/eeprom_fix.c
@@
-51,7
+51,7
@@
static int get_addr(char *str, unsigned int *val)
return -EINVAL;
}
- return
0
;
+ return
err
;
}
static int