Skip to content
Snippets Groups Projects
Commit 4308ed7e authored by Brian Christiansen's avatar Brian Christiansen
Browse files

Fix clang issue - garbage value

allow_lines could be garbage because a goto could be hit before
allow_lines is set.

Continuation of 2e0cee37
parent bb12c25b
No related branches found
No related tags found
No related merge requests found
......@@ -196,7 +196,7 @@ extern int task_cgroup_devices_fini(slurm_cgroup_conf_t *slurm_cgroup_conf)
extern int task_cgroup_devices_create(stepd_step_rec_t *job)
{
int f, k, rc, gres_conf_lines, allow_lines;
int f, k, rc, gres_conf_lines = 0, allow_lines = 0;
int fstatus = SLURM_ERROR;
char **gres_name = NULL;
char **gres_cgroup = NULL, **dev_path = NULL;
......
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