Author: kai Date: 2007-12-18 22:50:49 +0000 (Tue, 18 Dec 2007) New Revision: 26528
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26528 Log: dsdb: Fix a warning. Modified: branches/SAMBA_4_0/source/dsdb/schema/schema_init.c Changeset: Modified: branches/SAMBA_4_0/source/dsdb/schema/schema_init.c =================================================================== --- branches/SAMBA_4_0/source/dsdb/schema/schema_init.c 2007-12-18 18:54:19 UTC (rev 26527) +++ branches/SAMBA_4_0/source/dsdb/schema/schema_init.c 2007-12-18 22:50:49 UTC (rev 26528) @@ -1085,10 +1085,10 @@ * Find the schema object for this ldb */ -const struct dsdb_schema *dsdb_get_schema(struct ldb_context *ldb) +struct dsdb_schema *dsdb_get_schema(struct ldb_context *ldb) { const void *p; - const struct dsdb_schema *schema; + struct dsdb_schema *schema; /* see if we have a cached copy */ p = ldb_get_opaque(ldb, "dsdb_schema"); @@ -1110,8 +1110,7 @@ void dsdb_make_schema_global(struct ldb_context *ldb) { - const void *p; - const struct dsdb_schema *schema = dsdb_get_schema(ldb); + struct dsdb_schema *schema = dsdb_get_schema(ldb); if (!schema) { return; }
