mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
r18816: Fix some build warnings.
Guenther
(This used to be commit b70ed9e483
)
This commit is contained in:
parent
0d6c51dac6
commit
314d563b12
@ -211,7 +211,7 @@ ADS_STATUS ads_get_gpo_link(ADS_STRUCT *ads,
|
||||
{
|
||||
ADS_STATUS status;
|
||||
const char *attrs[] = {"gPLink", "gPOptions", NULL};
|
||||
void *res = NULL;
|
||||
LDAPMessage *res = NULL;
|
||||
const char *gp_link;
|
||||
uint32 gp_options;
|
||||
|
||||
@ -254,7 +254,7 @@ ADS_STATUS ads_add_gpo_link(ADS_STRUCT *ads,
|
||||
{
|
||||
ADS_STATUS status;
|
||||
const char *attrs[] = {"gPLink", NULL};
|
||||
void *res = NULL;
|
||||
LDAPMessage *res = NULL;
|
||||
const char *gp_link, *gp_link_new;
|
||||
ADS_MODLIST mods;
|
||||
|
||||
@ -309,7 +309,7 @@ ADS_STATUS ads_delete_gpo_link(ADS_STRUCT *ads,
|
||||
{
|
||||
ADS_STATUS status;
|
||||
const char *attrs[] = {"gPLink", NULL};
|
||||
void *res = NULL;
|
||||
LDAPMessage *res = NULL;
|
||||
const char *gp_link, *gp_link_new = NULL;
|
||||
ADS_MODLIST mods;
|
||||
|
||||
@ -432,7 +432,7 @@ ADS_STATUS ads_get_gpo(ADS_STRUCT *ads,
|
||||
struct GROUP_POLICY_OBJECT *gpo)
|
||||
{
|
||||
ADS_STATUS status;
|
||||
void *res = NULL;
|
||||
LDAPMessage *res = NULL;
|
||||
char *dn;
|
||||
const char *filter;
|
||||
const char *attrs[] = { "cn", "displayName", "flags", "gPCFileSysPath",
|
||||
|
Loading…
Reference in New Issue
Block a user