summaryrefslogtreecommitdiffstats
path: root/source
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
commit5095941dcb312d75c232d15232d5998ca05b632f (patch)
tree58958bc61b649ec1afb90bbf9fb5f0a5d7032ff0 /source
parentf26e8205cff63967b9c1659b8e6ad71cbe36dace (diff)
downloadsamba-5095941dcb312d75c232d15232d5998ca05b632f.tar.gz
samba-5095941dcb312d75c232d15232d5998ca05b632f.tar.xz
samba-5095941dcb312d75c232d15232d5998ca05b632f.zip
Fixed uninitialised variable warning.
Diffstat (limited to 'source')
-rw-r--r--source/printing/printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/printing/printing.c b/source/printing/printing.c
index f65355cb485..fe16ee7283e 100644
--- a/source/printing/printing.c
+++ b/source/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;