aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/solver_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/solver_util.c b/src/solver_util.c
index a4fd092..5731c9a 100644
--- a/src/solver_util.c
+++ b/src/solver_util.c
@@ -52,7 +52,7 @@ int jobid_init(struct job_clist *q, struct jobid **job_ids)
{
struct jobid *jid;
struct job *j;
- int ret;
+ int ret = 0;
jid = malloc(sizeof(*jid));
if (jid == NULL) {