aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2016-12-08 20:43:19 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2016-12-08 20:43:19 +0000
commit560bcfdcfda5a68fab59e5a1da732667aee5cc56 (patch)
tree2aa37492911e8a81161ee8ab12b3e94c5ed78e40 /libgo
parent80d435794edaea1d7191b3ae93d988d31a2a6b20 (diff)
downloadgcc-560bcfdcfda5a68fab59e5a1da732667aee5cc56.zip
gcc-560bcfdcfda5a68fab59e5a1da732667aee5cc56.tar.gz
gcc-560bcfdcfda5a68fab59e5a1da732667aee5cc56.tar.bz2
runtime: mark non-x86 aeshashbody parameters as unused
Avoids warnings during the build. Reviewed-on: https://go-review.googlesource.com/34142 From-SVN: r243459
Diffstat (limited to 'libgo')
-rw-r--r--libgo/runtime/aeshash.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libgo/runtime/aeshash.c b/libgo/runtime/aeshash.c
index faa90e0..bdfea5f 100644
--- a/libgo/runtime/aeshash.c
+++ b/libgo/runtime/aeshash.c
@@ -575,7 +575,10 @@ uintptr aeshashbody(void* p, uintptr seed, uintptr size, Slice aeskeysched) {
#else // !defined(__i386__) && !defined(__x86_64__)
-uintptr aeshashbody(void* p, uintptr seed, uintptr size, Slice aeskeysched) {
+uintptr aeshashbody(void* p __attribute__((unused)),
+ uintptr seed __attribute__((unused)),
+ uintptr size __attribute__((unused)),
+ Slice aeskeysched __attribute__((unused))) {
// We should never get here on a non-x86 system.
runtime_throw("impossible call to aeshashbody");
}