projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xen: Code style conformity
[platform/kernel/u-boot.git]
/
lib
/
sscanf.c
diff --git
a/lib/sscanf.c
b/lib/sscanf.c
index
d1e2dc2
..
4c35c03
100644
(file)
--- a/
lib/sscanf.c
+++ b/
lib/sscanf.c
@@
-555,7
+555,8
@@
literal:
if (flags & SUPPRESS) {
size_t sum = 0;
- if ((n = inr) < width) {
+ n = inr;
+ if (n < width) {
sum += n;
width -= n;
inp += n;