Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused variable #1626

Merged
merged 1 commit into from
Dec 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions src/mca/plm/base/plm_base_launch_support.c
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,6 @@ void prte_plm_base_daemon_callback(int status, pmix_proc_t *sender, pmix_data_bu
int i;
bool found;
prte_daemon_cmd_flag_t cmd;
char *myendian;
char *alias;
uint8_t naliases, ni;
char *nodename = NULL;
Expand All @@ -1325,20 +1324,13 @@ void prte_plm_base_daemon_callback(int status, pmix_proc_t *sender, pmix_data_bu
jdatorted = prte_get_job_data_object(PRTE_PROC_MY_NAME->nspace);
}

/* get my endianness */
/* get my topology */
mytopo = (prte_topology_t *) pmix_pointer_array_get_item(prte_node_topologies, 0);
if (NULL == mytopo) {
PRTE_ERROR_LOG(PRTE_ERR_NOT_FOUND);
prted_failed_launch = true;
goto CLEANUP;
}
myendian = strrchr(mytopo->sig, ':');
if (NULL == myendian) {
PRTE_ERROR_LOG(PRTE_ERR_NOT_FOUND);
prted_failed_launch = true;
goto CLEANUP;
}
++myendian;

/* multiple daemons could be in this buffer, so unpack until we exhaust the data */
idx = 1;
Expand Down