diff --git a/src/plugins/select/cons_res/select_cons_res.c b/src/plugins/select/cons_res/select_cons_res.c index 1ee524ccb12c3f00bc2a282662ac33facffd6e59..f8f66049e5169808b1478b517a1de59281b759bf 100644 --- a/src/plugins/select/cons_res/select_cons_res.c +++ b/src/plugins/select/cons_res/select_cons_res.c @@ -300,7 +300,6 @@ struct node_cr_record * find_cr_node_record (const char *name) void chk_resize_node(struct node_cr_record *node, uint16_t sockets) { - int i; if ((node->alloc_cores == NULL) || (sockets > node->num_sockets)) { debug3("cons_res: increasing node %s num_sockets from %u to %u", @@ -313,7 +312,6 @@ void chk_resize_node(struct node_cr_record *node, uint16_t sockets) void chk_resize_job(struct select_cr_job *job, uint16_t node_id, uint16_t sockets) { - int i; if ((job->alloc_cores[node_id] == NULL) || (sockets > job->num_sockets[node_id])) { debug3("cons_res: increasing job %u node %u num_sockets from %u to %u",