diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-12-08 20:43:19 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-12-08 20:43:19 +0000 |
commit | 1e0cfd04afdcc703af19856c8f267c1be35c07a5 (patch) | |
tree | 2aa37492911e8a81161ee8ab12b3e94c5ed78e40 /libgo | |
parent | 8da6e78e68cb290a046135f0d8c5b40e28805f5d (diff) | |
download | gcc-1e0cfd04afdcc703af19856c8f267c1be35c07a5.tar.gz |
runtime: mark non-x86 aeshashbody parameters as unused
Avoids warnings during the build.
Reviewed-on: https://go-review.googlesource.com/34142
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243459 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/runtime/aeshash.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libgo/runtime/aeshash.c b/libgo/runtime/aeshash.c index faa90e073fa..bdfea5f93fe 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"); } |