From 1aa78e7cde78f969bc5fbb2b6b0376c8cc6dbdfb Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Wed, 2 Jun 2010 16:33:04 +0000 Subject: [PATCH] fix failed assertion in slurmctld when no node state to recover --- src/slurmctld/node_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slurmctld/node_mgr.c b/src/slurmctld/node_mgr.c index 84a0120e03a..142d8434ace 100644 --- a/src/slurmctld/node_mgr.c +++ b/src/slurmctld/node_mgr.c @@ -261,7 +261,7 @@ static int _open_node_state_file(char **state_file) */ extern int load_all_node_state ( bool state_only ) { - char *node_name, *reason = NULL, *data = NULL, *state_file; + char *node_name = NULL, *reason = NULL, *data = NULL, *state_file; char *features = NULL, *gres = NULL; int data_allocated, data_read = 0, error_code = 0, node_cnt = 0; uint16_t node_state; -- GitLab