projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfe5f08
)
Remove pointless local variable.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 7 Oct 2008 07:01:16 +0000
(07:01 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 7 Oct 2008 07:01:16 +0000
(07:01 +0000)
[r22557]
format_check.c
patch
|
blob
|
history
diff --git
a/format_check.c
b/format_check.c
index
95ec544
..
0a31c27
100644
(file)
--- a/
format_check.c
+++ b/
format_check.c
@@
-148,16
+148,14
@@
static bool atend(vchar_t *self) {
static void check_format_arguments(const call_argument_t *arg, unsigned idx_fmt,
unsigned idx_param)
{
- const call_argument_t *fmt_arg;
unsigned num_fmt = 0;
/* find format arg */
unsigned idx = 0;
for (; idx < idx_fmt; ++idx)
arg = arg->next;
- fmt_arg = arg;
- const expression_t *fmt_expr =
fmt_
arg->expression;
+ const expression_t *fmt_expr = arg->expression;
if (fmt_expr->kind == EXPR_UNARY_CAST_IMPLICIT) {
fmt_expr = fmt_expr->unary.value;
}