about summary refs log tree commit diff
path: root/ports/ChangeLog.ia64
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-03-11 01:22:12 +0000
committerMike Frysinger <vapier@gentoo.org>2013-03-12 06:01:38 -0400
commit4fdd5ec1257f6a5a7bc629febaaef0209c17ea05 (patch)
tree849060973f676de012878167657127e9410fd8e1 /ports/ChangeLog.ia64
parenta186dc916c30e5077e092335e6c264d9d18688df (diff)
downloadglibc-4fdd5ec1257f6a5a7bc629febaaef0209c17ea05.tar.gz
glibc-4fdd5ec1257f6a5a7bc629febaaef0209c17ea05.tar.xz
glibc-4fdd5ec1257f6a5a7bc629febaaef0209c17ea05.zip
ia64: fix set-but-unused warnings with syscalls
These macros often set up a variable that later macros sometimes do
not use.  Add unused attribute to avoid that.

Similarly, the ia64 code tends to check the err field rather than
the val (which is opposite of most arches) leading to the same
kind of warning.  Replace this with a dummy reference.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'ports/ChangeLog.ia64')
-rw-r--r--ports/ChangeLog.ia646
1 files changed, 6 insertions, 0 deletions
diff --git a/ports/ChangeLog.ia64 b/ports/ChangeLog.ia64
index 371be42e46..50b5604ec1 100644
--- a/ports/ChangeLog.ia64
+++ b/ports/ChangeLog.ia64
@@ -1,5 +1,11 @@
 2013-03-12  Mike Frysinger  <vapier@gentoo.org>
 
+	* sysdeps/unix/sysv/linux/ia64/sysdep.h (INTERNAL_SYSCALL_DECL): Add
+	__attribute__ ((unused)) to err decl.
+	(INTERNAL_SYSCALL_ERROR_P): Add (void)val dummy reference.
+
+2013-03-12  Mike Frysinger  <vapier@gentoo.org>
+
 	* sysdeps/ia64/fpu/libm_error.c (STATIC): Delete redundant definition.
 	(_DECL_NUM, DECL_FLOAT, DECL_DOUBLE, DECL_LONG_DOUBLE): New defines.
 	(float_inf): Change definition to use DECL_FLOAT.