[OpenMP] Add void casts to silence unused variable warnings
authorMartin Storsjö <martin@martin.st>
Fri, 12 Feb 2021 09:34:51 +0000 (11:34 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 12 Feb 2021 19:55:31 +0000 (21:55 +0200)
commitb3d84790faadaff95bd32ae9950205e044f6fce0
tree192670407f26226e2fe513b132fb3c35f096290b
parent3f9519b768ebe7a2731443bdc2d3178a005e8d7f
[OpenMP] Add void casts to silence unused variable warnings

These variables are used only in certain build configurations,
or marked with a todo comment indicating that they should be
used/checked/reported.

Differential Revision: https://reviews.llvm.org/D96582
openmp/runtime/src/kmp_affinity.cpp
openmp/runtime/src/kmp_atomic.cpp
openmp/runtime/src/kmp_io.cpp
openmp/runtime/src/kmp_tasking.cpp
openmp/runtime/src/z_Windows_NT_util.cpp