From: Joseph Huber Date: Fri, 9 Sep 2022 20:26:02 +0000 (-0500) Subject: [Libomptarget][NFC] Remove unused variable X-Git-Tag: upstream/17.0.6~33902 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c2acb1e5d3cbd561c235010efeb8897ceba86dec;p=platform%2Fupstream%2Fllvm.git [Libomptarget][NFC] Remove unused variable --- diff --git a/openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp b/openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp index 13a25ff..7987b14 100644 --- a/openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp +++ b/openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp @@ -139,7 +139,6 @@ __tgt_target_table *__tgt_rtl_load_binary(int32_t DeviceId, assert(DeviceId >= 0 && DeviceId < NUMBER_OF_DEVICES && "bad dev id"); size_t ImageSize = (size_t)Image->ImageEnd - (size_t)Image->ImageStart; - size_t NumEntries = (size_t)(Image->EntriesEnd - Image->EntriesBegin); // load dynamic library and get the entry points. We use the dl library // to do the loading of the library, but we could do it directly to avoid the