]> git.ipfire.org Git - thirdparty/gcc.git/commit
c: avoid double-negative in warning message [PR94370]
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 26 Nov 2024 15:39:48 +0000 (10:39 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Tue, 26 Nov 2024 15:39:48 +0000 (10:39 -0500)
commit5134bad11b9a71f869abbb7f3d37b669c6ba138b
tree7a0bd0e2f82a0aff0b50114b782c14359f0009cc
parent67458ea13895bae3965274e7f03701fb14f8b1e6
c: avoid double-negative in warning message [PR94370]

gcc/c/ChangeLog:
PR c/94370
* c-typeck.cc (c_build_functype_attribute_variant): Reword
warning message to avoid double-negative.

gcc/testsuite/ChangeLog:
PR c/94370
* gcc.dg/format/proto.c: Update wording of message.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/c/c-typeck.cc
gcc/testsuite/gcc.dg/format/proto.c