projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7bc7813
)
Remove dead assignment.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 8 Jul 2011 11:52:12 +0000
(13:52 +0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 8 Jul 2011 11:52:12 +0000
(13:52 +0200)
format_check.c
patch
|
blob
|
history
diff --git
a/format_check.c
b/format_check.c
index
d77b588
..
37d2598
100644
(file)
--- a/
format_check.c
+++ b/
format_check.c
@@
-768,7
+768,6
@@
static void check_scanf_format(const call_argument_t *arg,
break;
case 'c':
break;
case 'c':
- expected_type = type_int;
switch (fmt_mod) {
case FMT_MOD_NONE: expected_type = type_char; break;
case FMT_MOD_l: expected_type = type_wchar_t; break;
switch (fmt_mod) {
case FMT_MOD_NONE: expected_type = type_char; break;
case FMT_MOD_l: expected_type = type_wchar_t; break;