diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-09-08 21:41:12 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-09-08 16:38:30 +0200 |
commit | 08e06272105c0b3b275a71bcaf8f44e23ae0481b (patch) | |
tree | a90b062417255e3100da35ef780615995518e6f5 | |
parent | 0ba52e97bf0f7ec6893fab15b69c24610c43a36d (diff) | |
download | samba-08e06272105c0b3b275a71bcaf8f44e23ae0481b.tar.gz samba-08e06272105c0b3b275a71bcaf8f44e23ae0481b.tar.bz2 samba-08e06272105c0b3b275a71bcaf8f44e23ae0481b.zip |
s4-param void function cannot return value
This is even if the returned function is void, on Solaris.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Sep 8 16:38:30 CEST 2011 on sn-devel-104
-rw-r--r-- | source4/param/loadparm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index c29097f420..524fd26df3 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -3591,7 +3591,8 @@ void lpcfg_dump(struct loadparm_context *lp_ctx, FILE *f, bool show_defaults, int iService; if (lp_ctx->s3_fns) { - return lp_ctx->s3_fns->dump(f, show_defaults, maxtoprint); + lp_ctx->s3_fns->dump(f, show_defaults, maxtoprint); + return; } defaults_saved = !show_defaults; |