From d2ec2786827e41a872276c88fb5d68c24e13ec46 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 13 May 2020 11:09:53 -0700 Subject: [PATCH] libbacktrace: mark test_large parameter unused in ztest.c libbacktrace/ * ztest.c (test_large): Mark state ATTRIBUTE_UNUSED. --- libbacktrace/ChangeLog | 4 ++++ libbacktrace/ztest.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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;