Skip to content
Snippets Groups Projects
Commit a57b7d28 authored by Danny Auble's avatar Danny Auble
Browse files

CRAY - Remove unneeded variable job_id_change

parent 6897ae09
No related branches found
No related tags found
No related merge requests found
......@@ -275,7 +275,6 @@ extern int container_p_create(uint32_t job_id)
int rc;
#endif
int i, empty = -1, found = -1;
bool job_id_change = false;
if (enable_debug)
info("%s: creating(%u)", plugin_type, job_id);
......@@ -296,12 +295,8 @@ extern int container_p_create(uint32_t job_id)
sizeof(uint32_t)*job_id_count);
}
job_id_array[empty] = job_id;
job_id_change = true;
} else {
info("%s: duplicate create job(%u)", plugin_type, job_id);
}
if (job_id_change)
_save_state(state_dir);
}
slurm_mutex_unlock(&context_lock);
#ifdef HAVE_NATIVE_CRAY
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment