Skip to content

Commit

Permalink
Cleanup unused var warning
Browse files Browse the repository at this point in the history
When building against older PMIx

Signed-off-by: Ralph Castain <rhc@pmix.org>
  • Loading branch information
rhc54 committed May 8, 2024
1 parent 1a3dc29 commit 32a5640
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/prted/pmix/pmix_server_queries.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ static void _query(int sd, short args, void *cbdata)
pmix_proc_info_t *procinfo;
pmix_data_array_t dry;
prte_proc_t *proct;
pmix_proc_t *proc, pproc;
pmix_info_t info;
pmix_proc_t *proc;
size_t sz;
PRTE_HIDE_UNUSED_PARAMS(sd, args);

Expand Down Expand Up @@ -826,6 +825,8 @@ static void _query(int sd, short args, void *cbdata)

#ifdef PMIX_MEM_ALLOC_KIND
} else if (0 == strcmp(q->keys[n], PMIX_MEM_ALLOC_KIND)) {
pmix_proc_t pproc;
pmix_info_t info;
pmix_value_t *value;
jdata = prte_get_job_data_object(jobid);
if (NULL == jdata) {
Expand Down

0 comments on commit 32a5640

Please sign in to comment.