diff --git a/src/plugins/select/cons_res/select_cons_res.c b/src/plugins/select/cons_res/select_cons_res.c index 9c2f98cba2c833f14023bb35ece0b1c8d46e3b9d..b82b1c659b076b6d21345011583b2e9a2eec425b 100644 --- a/src/plugins/select/cons_res/select_cons_res.c +++ b/src/plugins/select/cons_res/select_cons_res.c @@ -2781,9 +2781,9 @@ extern int select_p_reconfigure(void) } else if (IS_JOB_SUSPENDED(job_ptr)) { /* add the job in a suspended state */ if (job_ptr->priority == 0) - rc = _add_job_to_res(job_ptr, 1); + (void) _add_job_to_res(job_ptr, 1); else /* Gang schedule suspend */ - rc = _add_job_to_res(job_ptr, 0); + (void) _add_job_to_res(job_ptr, 0); } else if (_job_cleaning(job_ptr)) { cleaning_job_cnt++; run_time = (int) difftime(now, job_ptr->end_time);