libbacktrace: mark test_large parameter unused in ztest.c

libbacktrace/
	* ztest.c (test_large): Mark state ATTRIBUTE_UNUSED.
This commit is contained in:
Ian Lance Taylor 2020-05-13 11:09:53 -07:00
parent 702adbb2ff
commit d2ec278682
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2020-05-13 Ian Lance Taylor <iant@golang.org>
* ztest.c (test_large): Mark state ATTRIBUTE_UNUSED.
2020-05-13 Ian Lance Taylor <iant@golang.org>
PR go/95061

View File

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