Put index check before use.
authorMartin Liska <mliska@suse.cz>
Tue, 4 Feb 2020 13:57:59 +0000 (14:57 +0100)
committerMartin Liska <mliska@suse.cz>
Tue, 5 May 2020 13:54:57 +0000 (15:54 +0200)
commit98f7381d17a1ad47773b70a5de7d94a164357916
tree2b88eee7953101d9e6b43011bcbc58d615169803
parentd73d45f19180a474b1bd3af3c9cdf52da3bafc78
Put index check before use.

liboffloadmic/ChangeLog:

2020-02-04  Martin Liska  <mliska@suse.cz>

PR other/89860
* runtime/offload_target.cpp: Put index check
before its use.
liboffloadmic/runtime/offload_target.cpp