diff options
author | Ian Lance Taylor <iant@golang.org> | 2020-05-13 11:09:53 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2020-05-13 11:09:53 -0700 |
commit | d2ec2786827e41a872276c88fb5d68c24e13ec46 (patch) | |
tree | c8f8ab743aed5bb2524154071b567f4642cbba38 /libbacktrace | |
parent | 702adbb2fff0cc043f9c4e1af890421cb238cd18 (diff) | |
download | gcc-d2ec2786827e41a872276c88fb5d68c24e13ec46.zip gcc-d2ec2786827e41a872276c88fb5d68c24e13ec46.tar.gz gcc-d2ec2786827e41a872276c88fb5d68c24e13ec46.tar.bz2 |
libbacktrace: mark test_large parameter unused in ztest.c
libbacktrace/
* ztest.c (test_large): Mark state ATTRIBUTE_UNUSED.
Diffstat (limited to 'libbacktrace')
-rw-r--r-- | libbacktrace/ChangeLog | 4 | ||||
-rw-r--r-- | libbacktrace/ztest.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 89b690d..0fa4bbb 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,5 +1,9 @@ 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 * posix.c (backtrace_open): Treat EACCESS like ENOENT. diff --git a/libbacktrace/ztest.c b/libbacktrace/ztest.c index 2663c90..3947670 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; |