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

Fix uninitialized value

Could happen if the switch statement hit the default.
Was originally this way in ca682973
parent 93241e7e
No related branches found
No related tags found
No related merge requests found
...@@ -571,7 +571,7 @@ static int _load_cgroup_config() ...@@ -571,7 +571,7 @@ static int _load_cgroup_config()
PAM_EXTERN int pam_sm_acct_mgmt(pam_handle_t *pamh, int flags PAM_EXTERN int pam_sm_acct_mgmt(pam_handle_t *pamh, int flags
__attribute__((unused)), int argc, const char **argv) __attribute__((unused)), int argc, const char **argv)
{ {
int retval = PAM_IGNORE, rc, slurmrc, bufsize, user_jobs; int retval = PAM_IGNORE, rc = PAM_IGNORE, slurmrc, bufsize, user_jobs;
char *user_name; char *user_name;
List steps = NULL; List steps = NULL;
step_loc_t *stepd = NULL; step_loc_t *stepd = 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