From: Martin Liska Date: Mon, 10 Jun 2019 09:53:46 +0000 (+0200) Subject: Add missing ATTR_UNUSED (PR bootstrap/90808). X-Git-Tag: misc/cutover-git~4932 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=54e2d83caf591eb1ca3e6e8df44d67a4ac44d8fe;p=thirdparty%2Fgcc.git Add missing ATTR_UNUSED (PR bootstrap/90808). 2019-06-10 Martin Liska PR bootstrap/90808 * libgcov.h: Add ATTRIBUTE_UNUSED. From-SVN: r272114 --- diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 669041e505f5..5448567487cc 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2019-06-10 Martin Liska + + PR bootstrap/90808 + * libgcov.h: Add ATTRIBUTE_UNUSED. + 2019-06-10 Martin Liska * Makefile.in: Add __gcov_one_value_profiler_v2, diff --git a/libgcc/libgcov.h b/libgcc/libgcov.h index 144b4817a371..7f316146d49c 100644 --- a/libgcc/libgcov.h +++ b/libgcc/libgcov.h @@ -328,7 +328,7 @@ gcov_get_counter (void) when read value is equal to IGNORE_SCALING. */ static inline gcov_type -gcov_get_counter_ignore_scaling (gcov_type ignore_scaling) +gcov_get_counter_ignore_scaling (gcov_type ignore_scaling ATTRIBUTE_UNUSED) { #ifndef IN_GCOV_TOOL /* This version is for reading count values in libgcov runtime: