message: [OpenMP][Fix] Conditional compilation leaves variables unused
  Summary: Prevent variables from being left unused by conditional compilation.
  Reviewers: ABataev, grokos, Hahnfeld, caomhin, protze.joachim
  Subscribers: guansong, openmp-commits
diff: @@ -2570,6 +2570,7 @@ void __kmpc_set_nest_lock(ident_t *loc, kmp_int32 gtid, void **user_lock) {
  #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 @@ void __kmpc_unset_nest_lock(ident_t *loc, kmp_int32 gtid, void **user_lock) {
  #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:
  