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:
parent
3d4eb5c043
commit
530e3db70b
@ -286,7 +286,7 @@ sbcErr smbconf_create_set_share(struct smbconf_ctx *ctx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
err = smbconf_set_includes(ctx, service->name, num_includes,
|
err = smbconf_set_includes(ctx, service->name, num_includes,
|
||||||
(const char **)includes);
|
discard_const_p(const char *, includes));
|
||||||
if (!SBC_ERROR_IS_OK(err)) {
|
if (!SBC_ERROR_IS_OK(err)) {
|
||||||
goto cancel;
|
goto cancel;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user