From 2f249bab071f9e0d08cf66da613c2744f232b34b Mon Sep 17 00:00:00 2001 From: Jonathan Peyton Date: Wed, 3 Jun 2015 16:23:36 +0000 Subject: Remove unused variable anonym from kmp_atomic.c There is an anonym variable inside a macro that is declared and defined but never used. This patch removes it. http://lists.cs.uiuc.edu/pipermail/openmp-dev/2015-June/000666.html Patch by Jack Howarth and Jonathan Peyton llvm-svn: 238934 --- openmp/runtime/src/kmp_atomic.c | 1 - 1 file changed, 1 deletion(-) (limited to 'openmp/runtime/src') diff --git a/openmp/runtime/src/kmp_atomic.c b/openmp/runtime/src/kmp_atomic.c index 7c4433eb2e7..5d5d3448f29 100644 --- a/openmp/runtime/src/kmp_atomic.c +++ b/openmp/runtime/src/kmp_atomic.c @@ -724,7 +724,6 @@ RET_TYPE __kmpc_atomic_##TYPE_ID##_##OP_ID( ident_t *id_ref, int gtid, TYPE * lh // I verified the asm of the workaround. #define OP_CMPXCHG_WORKAROUND(TYPE,BITS,OP) \ { \ - char anonym[ ( sizeof( TYPE ) == sizeof( kmp_int##BITS ) ) ? ( 1 ) : ( 0 ) ] = { 1 }; \ struct _sss { \ TYPE cmp; \ kmp_int##BITS *vvv; \ -- cgit v1.2.3