projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1daf28
)
Remove redundant assignment.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 7 Oct 2008 06:39:22 +0000
(06:39 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 7 Oct 2008 06:39:22 +0000
(06:39 +0000)
[r22556]
format_check.c
patch
|
blob
|
history
diff --git
a/format_check.c
b/format_check.c
index
e12d0b4
..
95ec544
100644
(file)
--- a/
format_check.c
+++ b/
format_check.c
@@
-149,11
+149,11
@@
static void check_format_arguments(const call_argument_t *arg, unsigned idx_fmt,
unsigned idx_param)
{
const call_argument_t *fmt_arg;
- unsigned idx = 0;
unsigned num_fmt = 0;
/* find format arg */
- for (idx = 0; idx < idx_fmt; ++idx)
+ unsigned idx = 0;
+ for (; idx < idx_fmt; ++idx)
arg = arg->next;
fmt_arg = arg;