summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2015-06-03 16:23:36 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2015-06-03 16:23:36 +0000
commit2f249bab071f9e0d08cf66da613c2744f232b34b (patch)
tree5d38a8a6aec9834dcbe6758376ced5b111adbf0d /openmp/runtime/src
parentdfaf4bc1107fed59c3262aba80f161dfd318fc72 (diff)
downloadbcm5719-llvm-2f249bab071f9e0d08cf66da613c2744f232b34b.tar.gz
bcm5719-llvm-2f249bab071f9e0d08cf66da613c2744f232b34b.zip
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
Diffstat (limited to 'openmp/runtime/src')
-rw-r--r--openmp/runtime/src/kmp_atomic.c1
1 files changed, 0 insertions, 1 deletions
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; \
OpenPOWER on IntegriCloud