1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

lib/smbconf: remove const warning

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Stefan Metzmacher 2014-02-27 09:31:42 +01:00 committed by Jeremy Allison
parent 3d4eb5c043
commit 530e3db70b

View File

@ -286,7 +286,7 @@ sbcErr smbconf_create_set_share(struct smbconf_ctx *ctx,
}
err = smbconf_set_includes(ctx, service->name, num_includes,
(const char **)includes);
discard_const_p(const char *, includes));
if (!SBC_ERROR_IS_OK(err)) {
goto cancel;
}