[libomptarget][NFC] Fix compilation issue with GCC
authorGeorge Rokos <georgios.rokos@intel.com>
Tue, 10 Aug 2021 16:36:43 +0000 (09:36 -0700)
committerGeorge Rokos <georgios.rokos@intel.com>
Tue, 10 Aug 2021 16:43:43 +0000 (09:43 -0700)
commitdf06ec3057537a924aa5ad2d6f27a33da99817cd
tree59ffca73a7e9955284450d3dde550c92d6b84253
parent1fdb3e36ff379e5b3b05a00d49b6081435df727a
[libomptarget][NFC] Fix compilation issue with GCC

Removed redundant assignment from condition which causes gcc to emit the following error:

error: operation on ‘MoveData’ may be undefined [-Werror=sequence-point]
openmp/libomptarget/src/omptarget.cpp