* [PATCH] AArch64, fix compiler gripe for declared but not used _x0
@ 2012-12-10 10:44 Marcus Shawcroft
0 siblings, 0 replies; only message in thread
From: Marcus Shawcroft @ 2012-12-10 10:44 UTC (permalink / raw)
To: libc-ports
[-- Attachment #1: Type: text/plain, Size: 226 bytes --]
Another instance of a declared but unused variable:
/Marcus
2012-12-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
* sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL):
Remove _x0 declarations.
[-- Attachment #2: fix-unused.diff --]
[-- Type: application/octet-stream, Size: 621 bytes --]
diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h
index 67132e3..2263d3d 100644
--- a/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h
+++ b/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h
@@ -242,7 +242,6 @@ __local_syscall_error: \
\
if (__vdso_##name != NULL) \
{ \
- register long _x0 asm ("x0"); \
v_ret = INTERNAL_VSYSCALL_NCS (__vdso_##name, err, nr, ##args); \
if (!INTERNAL_SYSCALL_ERROR_P (v_ret, err) \
|| INTERNAL_SYSCALL_ERRNO (v_ret, err) != ENOSYS) \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-12-10 10:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-10 10:44 [PATCH] AArch64, fix compiler gripe for declared but not used _x0 Marcus Shawcroft
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).