From 1a4b8cc70772f36b02cf8b464a5364f0196ef0d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 5 Feb 2016 11:37:45 +0100 Subject: [PATCH] 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 Reviewed-by: Jeremy Allison --- source4/lib/policy/gp_ldap.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/source4/lib/policy/gp_ldap.c b/source4/lib/policy/gp_ldap.c index ee7c07fef27..5a1ee7d8ed6 100644 --- a/source4/lib/policy/gp_ldap.c +++ b/source4/lib/policy/gp_ldap.c @@ -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) {