c-common.c (check_function_format): Don't suggest adding format attributes to functio...
authorJoseph Myers <jsm28@cam.ac.uk>
Sat, 9 Dec 2000 21:26:56 +0000 (21:26 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Sat, 9 Dec 2000 21:26:56 +0000 (21:26 +0000)
commite45046aeda064dac8461f0037eb221cca677c9d0
tree8a5eb4e052f246c02d053a731de53400bfee8a98
parentd82a33c6bd3f83bb032bef6a23f29cc72b17ceb0
c-common.c (check_function_format): Don't suggest adding format attributes to functions with no parameter to which...

* c-common.c (check_function_format): Don't suggest adding format
attributes to functions with no parameter to which to add them.

testsuite:
* gcc.dg/format-miss-2.c: New test.

From-SVN: r38163
gcc/ChangeLog
gcc/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/format-miss-2.c [new file with mode: 0644]