[OpenMP] libomp: cleanup: minor fixes to silence static analyzer.
authorAndreyChurbanov <andrey.churbanov@intel.com>
Mon, 16 Aug 2021 10:39:23 +0000 (13:39 +0300)
committerAndreyChurbanov <andrey.churbanov@intel.com>
Mon, 16 Aug 2021 10:39:23 +0000 (13:39 +0300)
commit52cac541d4316a516632f6b71ab6d0a1d7c2be37
treef05244665a8ff6dc5ba80cbc6e61681abbcf34da
parent7313a6d87c04c33f0bc67297241e33f2d82a0d5d
[OpenMP] libomp: cleanup: minor fixes to silence static analyzer.

Added couple more checks to silence KlocWork static code analyzer.

Differential Revision: https://reviews.llvm.org/D107348
openmp/runtime/src/kmp_affinity.cpp
openmp/runtime/src/kmp_alloc.cpp
openmp/runtime/src/kmp_dispatch.cpp