[OpenMP][OMPT] Remove unused var in archer (#201140)

Working on enabling the build of OpenMP and Offload in pre-merge checks
surfaced this unused var and pre-merge checks run with -Werror.

As I did not see where it should be used, remove the variable to address
the warning.

The pre-merge running into the warning as error is
https://github.com/llvm/llvm-project/actions/runs/26826349862/job/79094823845?pr=174955
This commit is contained in:
Jan Patrick Lehr 2026-06-02 17:02:06 +02:00 committed by GitHub
parent 87b97d67d4
commit afd040cb46
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -198,7 +198,6 @@ DECLARE_TSAN_FUNCTION(__tsan_func_exit)
/// Required OMPT inquiry functions.
static ompt_get_parallel_info_t ompt_get_parallel_info;
static ompt_get_thread_data_t ompt_get_thread_data;
typedef char ompt_tsan_clockid;
@ -1171,7 +1170,6 @@ static int ompt_tsan_initialize(ompt_function_lookup_t lookup, int device_num,
}
ompt_get_parallel_info =
(ompt_get_parallel_info_t)lookup("ompt_get_parallel_info");
ompt_get_thread_data = (ompt_get_thread_data_t)lookup("ompt_get_thread_data");
if (ompt_get_parallel_info == NULL) {
fprintf(stderr, "Could not get inquiry function 'ompt_get_parallel_info', "