projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove duplicate test.
[cparser]
/
format_check.c
diff --git
a/format_check.c
b/format_check.c
index
3440a02
..
9e991d8
100644
(file)
--- a/
format_check.c
+++ b/
format_check.c
@@
-617,10
+617,6
@@
static void check_scanf_format(const call_argument_t *arg,
if (fmt != '%')
continue;
fmt = *(++c);
- if (fmt == '\0') {
- warningf(WARN_FORMAT, pos, "dangling '%%' in format string");
- break;
- }
if (fmt == '%')
continue;