summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/printing/printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index f65355cb48..fe16ee7283 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -882,7 +882,7 @@ int print_job_start(struct current_user *user, int snum, char *jobname)
struct printjob pjob;
int next_jobid;
user_struct *vuser;
- int njobs;
+ int njobs = 0;
errno = 0;