[OpenMP] Remove two entirely unused variables
authorMartin Storsjö <martin@martin.st>
Fri, 12 Feb 2021 09:36:49 +0000 (11:36 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 12 Feb 2021 19:55:31 +0000 (21:55 +0200)
Differential Revision: https://reviews.llvm.org/D96583

openmp/runtime/src/z_Windows_NT_util.cpp

index 429ffb6..3209202 100644 (file)
@@ -361,7 +361,6 @@ void __kmp_unlock_suspend_mx(kmp_info_t *th) {
 template <class C>
 static inline void __kmp_suspend_template(int th_gtid, C *flag) {
   kmp_info_t *th = __kmp_threads[th_gtid];
-  int status;
   typename C::flag_t old_spin;
 
   KF_TRACE(30, ("__kmp_suspend_template: T#%d enter for flag's loc(%p)\n",
@@ -467,7 +466,6 @@ template void __kmp_suspend_64<true, false>(int, kmp_flag_64<true, false> *);
 template <class C>
 static inline void __kmp_resume_template(int target_gtid, C *flag) {
   kmp_info_t *th = __kmp_threads[target_gtid];
-  int status;
 
 #ifdef KMP_DEBUG
   int gtid = TCR_4(__kmp_init_gtid) ? __kmp_get_gtid() : -1;