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:
parent
bee8b8602f
commit
28cfea987e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user