summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-12-18 05:08:48 +0000
committerTim Potter <tpot@samba.org>2001-12-18 05:08:48 +0000
commit7cb202e33cf3dd301729cea5adff3b7b1ca58ce3 (patch)
treeacbde31fb6ed4d260d8a3363c7943991591ce3e8 /source3/printing
parent95a4903b20b892c461198dd1dff77ccca159d2ca (diff)
downloadsamba-7cb202e33cf3dd301729cea5adff3b7b1ca58ce3.tar.gz
samba-7cb202e33cf3dd301729cea5adff3b7b1ca58ce3.tar.bz2
samba-7cb202e33cf3dd301729cea5adff3b7b1ca58ce3.zip
Fixed uninitialised variable warning.
(This used to be commit 5095941dcb312d75c232d15232d5998ca05b632f)
Diffstat (limited to 'source3/printing')
-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;