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

fixed to run on a real system

parent d2465398
No related branches found
No related tags found
No related merge requests found
...@@ -313,7 +313,7 @@ static void _remove_jobs_on_block_and_reset(rm_job_list_t *job_list, ...@@ -313,7 +313,7 @@ static void _remove_jobs_on_block_and_reset(rm_job_list_t *job_list,
rm_element_t *job_elem = NULL; rm_element_t *job_elem = NULL;
pm_partition_id_t job_block; pm_partition_id_t job_block;
db_job_id_t job_id; db_job_id_t job_id;
int i; int i, rc;
#endif #endif
if(!job_list) if(!job_list)
...@@ -345,8 +345,7 @@ static void _remove_jobs_on_block_and_reset(rm_job_list_t *job_list, ...@@ -345,8 +345,7 @@ static void _remove_jobs_on_block_and_reset(rm_job_list_t *job_list,
} }
if(!job_elem) { if(!job_elem) {
error("No Job Elem breaking out job count = %d\n", error("No Job Elem breaking out job count = %d\n", i);
jobs);
break; break;
} }
if ((rc = bridge_get_data(job_elem, RM_JobPartitionID, if ((rc = bridge_get_data(job_elem, RM_JobPartitionID,
...@@ -913,7 +912,7 @@ static void _term_agent(bg_update_t *bg_update_ptr) ...@@ -913,7 +912,7 @@ static void _term_agent(bg_update_t *bg_update_ptr)
rm_job_list_t *job_list = NULL; rm_job_list_t *job_list = NULL;
#ifdef HAVE_BG_FILES #ifdef HAVE_BG_FILES
int live_states; int live_states, rc;
debug2("getting the job info"); debug2("getting the job info");
live_states = JOB_ALL_FLAG live_states = JOB_ALL_FLAG
......
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