git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3734488
)
Fix warning by setting the variable from GUID to const GUID
author
Matthieu Patou
<mat@matws.net>
Fri, 17 May 2013 12:26:46 +0000
(
05:26
-0700)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 20 May 2013 11:54:06 +0000
(21:54 +1000)
Signed-off-by: Matthieu Patou <mat@matws.net>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/ridalloc.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/samdb/ldb_modules/ridalloc.c
b/source4/dsdb/samdb/ldb_modules/ridalloc.c
index d0266eda8aa8845f8039e153963797ce48e67d6f..73ecb0389199ad9ef9676bef5617ee1b20e4784a 100644
(file)
--- a/
source4/dsdb/samdb/ldb_modules/ridalloc.c
+++ b/
source4/dsdb/samdb/ldb_modules/ridalloc.c
@@
-388,7
+388,8
@@
static int ridalloc_create_own_rid_set(struct ldb_module *module, TALLOC_CTX *me
struct ldb_dn *rid_manager_dn, *fsmo_role_dn;
int ret;
struct ldb_context *ldb = ldb_module_get_ctx(module);
- struct GUID fsmo_role_guid, *our_ntds_guid;
+ struct GUID fsmo_role_guid;
+ const struct GUID *our_ntds_guid;
NTSTATUS status;
/* work out who is the RID Manager */