From 4d614fe5e0625f197805978730214e5236ef360c Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 3 Jul 2014 19:17:00 -0700 Subject: S390: Quash unused variable warning due to no-op THREAD_SET_POINTER_GUARD. --- sysdeps/s390/nptl/tls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps') diff --git a/sysdeps/s390/nptl/tls.h b/sysdeps/s390/nptl/tls.h index 1c74efa847..bc0db4a1f9 100644 --- a/sysdeps/s390/nptl/tls.h +++ b/sysdeps/s390/nptl/tls.h @@ -173,7 +173,7 @@ typedef struct use stack_guard as pointer_guard. */ #define THREAD_GET_POINTER_GUARD() \ THREAD_GETMEM (THREAD_SELF, header.stack_guard) -#define THREAD_SET_POINTER_GUARD(value) +#define THREAD_SET_POINTER_GUARD(value) ((void) (value)) #define THREAD_COPY_POINTER_GUARD(descr) /* Get and set the global scope generation counter in struct pthread. */ -- cgit v1.2.3