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.
This commit is contained in:
Martin Liska 2022-05-02 06:46:05 +02:00
parent bee8b8602f
commit 28cfea987e

View File

@ -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)