X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=format_check.c;fp=format_check.c;h=9e991d8823ae6ce8e081a0ba9e55da987ea69ff4;hb=54307704f0f38bba488540836a0c1893302a591b;hp=3440a0273f214d22f5bb1b04dcfb8192adbdd0fc;hpb=b2e2a716bac8a32ba2e8e8349e00301df026d31f;p=cparser diff --git a/format_check.c b/format_check.c index 3440a02..9e991d8 100644 --- 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;