From: Ian Lance Taylor Date: Wed, 13 May 2020 18:09:53 +0000 (-0700) Subject: libbacktrace: mark test_large parameter unused in ztest.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d2ec2786827e41a872276c88fb5d68c24e13ec46;p=gcc.git libbacktrace: mark test_large parameter unused in ztest.c libbacktrace/ * ztest.c (test_large): Mark state ATTRIBUTE_UNUSED. --- diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 89b690d415e..0fa4bbb7ed8 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,7 @@ +2020-05-13 Ian Lance Taylor + + * ztest.c (test_large): Mark state ATTRIBUTE_UNUSED. + 2020-05-13 Ian Lance Taylor PR go/95061 diff --git a/libbacktrace/ztest.c b/libbacktrace/ztest.c index 2663c90061a..39476704972 100644 --- a/libbacktrace/ztest.c +++ b/libbacktrace/ztest.c @@ -294,7 +294,7 @@ average_time (const size_t *times, size_t trials) /* Test a larger text, if available. */ static void -test_large (struct backtrace_state *state) +test_large (struct backtrace_state *state ATTRIBUTE_UNUSED) { #ifdef HAVE_ZLIB unsigned char *orig_buf;