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

s4-libgpo: fix gcc6 build warning.

source4/lib/policy/gp_ldap.c:48:35: warning: 'gpo_inheritance' defined but not
used [-Wunused-const-variable]

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Günther Deschner 2016-02-05 11:37:45 +01:00 committed by Jeremy Allison
parent 3b230d21bc
commit 1a4b8cc707

View File

@ -45,12 +45,6 @@ static const struct gpo_stringmap gpo_flags [] = {
{ "GPO_FLAG_MACHINE_DISABLE", GPO_FLAG_MACHINE_DISABLE },
{ NULL, 0 }
};
static const struct gpo_stringmap gpo_inheritance [] = {
{ "GPO_INHERIT", GPO_INHERIT },
{ "GPO_BLOCK_INHERITANCE", GPO_BLOCK_INHERITANCE },
{ NULL, 0 }
};
static NTSTATUS parse_gpo(TALLOC_CTX *mem_ctx, struct ldb_message *msg, struct gp_object **ret)
{