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
This commit is contained in:
parent
dfaf4bc110
commit
2f249bab07
|
@ -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; \
|
||||
|
|
Loading…
Reference in New Issue