git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libgpo: Make sure status is intialized
[sfrench/samba-autobuild/.git]
/
libgpo
/
gpo_ldap.c
diff --git
a/libgpo/gpo_ldap.c
b/libgpo/gpo_ldap.c
index fec00053b4984a29fc0c085811b2817e1e087fb4..f087203f28aa1153691e86e0f20415d6b6b7dde3 100644
(file)
--- a/
libgpo/gpo_ldap.c
+++ b/
libgpo/gpo_ldap.c
@@
-474,7
+474,7
@@
ADS_STATUS ads_get_gpo(ADS_STRUCT *ads,
const char *guid_name,
struct GROUP_POLICY_OBJECT *gpo)
{
- ADS_STATUS status;
+ ADS_STATUS status
= ADS_ERROR(LDAP_NO_SUCH_OBJECT)
;
LDAPMessage *res = NULL;
char *dn;
const char *filter;