ia64: fix set-but-unused warnings with syscalls
authorMike Frysinger <vapier@gentoo.org>
Mon, 11 Mar 2013 01:22:12 +0000 (01:22 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 12 Mar 2013 10:01:38 +0000 (06:01 -0400)
commit4fdd5ec1257f6a5a7bc629febaaef0209c17ea05
tree849060973f676de012878167657127e9410fd8e1
parenta186dc916c30e5077e092335e6c264d9d18688df
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>
ports/ChangeLog.ia64
ports/sysdeps/unix/sysv/linux/ia64/sysdep.h