projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not warn about excess initialisers, when trying to initialise an incomplete compou...
[cparser]
/
format_check.c
diff --git
a/format_check.c
b/format_check.c
index
f572d14
..
d666d1a
100644
(file)
--- a/
format_check.c
+++ b/
format_check.c
@@
-247,6
+247,7
@@
break_fmt_flags:
/* minimum field width */
if (fmt == '*') {
/* minimum field width */
if (fmt == '*') {
+ fmt = vchar.next(&vchar);
if (arg == NULL) {
warningf(pos, "missing argument for '*' field width in conversion specification");
return;
if (arg == NULL) {
warningf(pos, "missing argument for '*' field width in conversion specification");
return;
@@
-267,6
+268,7
@@
break_fmt_flags:
if (fmt == '.') {
fmt = vchar.next(&vchar);
if (fmt == '*') {
if (fmt == '.') {
fmt = vchar.next(&vchar);
if (fmt == '*') {
+ fmt = vchar.next(&vchar);
if (arg == NULL) {
warningf(pos, "missing argument for '*' precision in conversion specification");
return;
if (arg == NULL) {
warningf(pos, "missing argument for '*' precision in conversion specification");
return;