[Openmp-commits] [PATCH] D51303: [OpenMP][Fix] Conditional compilation leaves variables unused
Phabricator via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Aug 27 12:55:49 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rOMP340771: [OpenMP][Fix] Conditional compilation leaves variables unused (authored by gbercea, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D51303?vs=162714&id=162729#toc
Repository:
rOMP OpenMP
https://reviews.llvm.org/D51303
Files:
runtime/src/kmp_csupport.cpp
Index: runtime/src/kmp_csupport.cpp
===================================================================
--- runtime/src/kmp_csupport.cpp
+++ runtime/src/kmp_csupport.cpp
@@ -2570,6 +2570,7 @@
#endif
int acquire_status =
KMP_D_LOCK_FUNC(user_lock, set)((kmp_dyna_lock_t *)user_lock, gtid);
+ (void) acquire_status;
#if USE_ITT_BUILD
__kmp_itt_lock_acquired((kmp_user_lock_p)user_lock);
#endif
@@ -2760,6 +2761,7 @@
#endif
int release_status =
KMP_D_LOCK_FUNC(user_lock, unset)((kmp_dyna_lock_t *)user_lock, gtid);
+ (void) release_status;
#if OMPT_SUPPORT && OMPT_OPTIONAL
// This is the case, if called from omp_init_lock_with_hint:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51303.162729.patch
Type: text/x-patch
Size: 668 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180827/ef5cdda1/attachment.bin>
More information about the Openmp-commits
mailing list