s4-libgpo: fix gcc6 build warning.
authorGünther Deschner <gd@samba.org>
Fri, 5 Feb 2016 10:37:45 +0000 (11:37 +0100)
committerJeremy Allison <jra@samba.org>
Sat, 6 Feb 2016 20:48:18 +0000 (21:48 +0100)
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>
source4/lib/policy/gp_ldap.c

index ee7c07fef27ae8857b67b0d1f5d56cab33b6e759..5a1ee7d8ed65e18316634be84eeddc5d902e579d 100644 (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)
 {