summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-12-10 17:49:18 +0100
committerJeremy Allison <jra@samba.org>2013-12-12 14:21:27 -0800
commit805515b83f02be29815654c4a0d09d324ba50abc (patch)
tree40137400aee0acc9e7a5ea7143d9a1f8c19a5473 /source3
parent65868f2025c3213d1e75dc87d92acdfbfbd6c11f (diff)
downloadsamba-805515b83f02be29815654c4a0d09d324ba50abc.tar.gz
samba-805515b83f02be29815654c4a0d09d324ba50abc.tar.xz
samba-805515b83f02be29815654c4a0d09d324ba50abc.zip
s3:printing fix a compiler warning
about a potentially uninitialized variable Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/printing/spoolssd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/spoolssd.c b/source3/printing/spoolssd.c
index 8f182f824c7..0b6980a9733 100644
--- a/source3/printing/spoolssd.c
+++ b/source3/printing/spoolssd.c
@@ -372,7 +372,7 @@ static int spoolss_children_main(struct tevent_context *ev_ctx,
{
struct spoolss_children_data *data;
bool ok;
- int ret;
+ int ret = 0;
ok = spoolss_child_init(ev_ctx, child_id, pf);
if (!ok) {