Skip to content
Snippets Groups Projects
Commit 4204df07 authored by Danny Auble's avatar Danny Auble
Browse files

init variable

parent d17e9fc5
No related branches found
No related tags found
No related merge requests found
......@@ -507,7 +507,7 @@ _cluster_get_jobs(pgsql_conn_t *pg_conn, char *cluster,
char *cond = xstrdup(sent_cond);
slurmdb_job_rec_t *job = NULL;
List cluster_job_list = NULL;
int rc = SLURM_SUCCESS, curr_id, last_id;
int rc = SLURM_SUCCESS, curr_id, last_id = -1;
time_t now = time(NULL);
_concat_cluster_job_cond_str(pg_conn, cluster, job_cond, &cond);
......
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