From c2acb1e5d3cbd561c235010efeb8897ceba86dec Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Fri, 9 Sep 2022 15:26:02 -0500 Subject: [PATCH] [Libomptarget][NFC] Remove unused variable --- openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp | 1 - 1 file changed, 1 deletion(-) 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 -- 2.7.4