public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-63] libgcov: add ATTRIBUTE_UNUSED for dump_string Date: Mon, 2 May 2022 04:47:44 +0000 (GMT) [thread overview] Message-ID: <20220502044744.CF1643857346@sourceware.org> (raw) https://gcc.gnu.org/g:28cfea987e12413a85a4fa1942800100c43d4b40 commit r13-63-g28cfea987e12413a85a4fa1942800100c43d4b40 Author: Martin Liska <mliska@suse.cz> Date: Mon May 2 06:46:05 2022 +0200 libgcov: add ATTRIBUTE_UNUSED for dump_string Mitigates the following clang warning: libgcc/libgcov-driver.c:416:1: warning: unused function 'dump_string' [-Wunused-function] libgcc/ChangeLog: * libgcov-driver.c: Add ATTRIBUTE_UNUSED. Diff: --- libgcc/libgcov-driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libgcc/libgcov-driver.c b/libgcc/libgcov-driver.c index d4517d269eb..aba62d588b8 100644 --- a/libgcc/libgcov-driver.c +++ b/libgcc/libgcov-driver.c @@ -413,6 +413,7 @@ dump_counter (gcov_type counter, /* Dump the STRING using the DUMP handler called with ARG. */ static inline void +ATTRIBUTE_UNUSED dump_string (const char *string, void (*dump_fn) (const void *, unsigned, void *), void *arg)
reply other threads:[~2022-05-02 4:47 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220502044744.CF1643857346@sourceware.org \ --to=marxin@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).