diff options
author | Gerald Carter <jerry@samba.org> | 2004-02-19 21:55:45 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2004-02-19 21:55:45 +0000 |
commit | ee5e7e49251f9149367dcf0fb5f2d49d88d9a330 (patch) | |
tree | ebf1fb47cb03452c01267696fa27777e813d7149 | |
parent | 62ea77ad1188c86c0dc6c3dd98757a437c528682 (diff) | |
download | samba-ee5e7e49251f9149367dcf0fb5f2d49d88d9a330.tar.gz samba-ee5e7e49251f9149367dcf0fb5f2d49d88d9a330.tar.bz2 samba-ee5e7e49251f9149367dcf0fb5f2d49d88d9a330.zip |
remove some unused local variables
(This used to be commit aa67c77515097cc21a9de727bf3722c04de313f9)
-rw-r--r-- | source3/param/config_ldap.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/param/config_ldap.c b/source3/param/config_ldap.c index ad9b515381..1413fe158c 100644 --- a/source3/param/config_ldap.c +++ b/source3/param/config_ldap.c @@ -80,11 +80,9 @@ static NTSTATUS parse_section( LDAPMessage *result = NULL; LDAPMessage *entry = NULL; pstring filter; - pstring suffix; pstring option_name; pstring option_value; char **attr_list = NULL; - char *temp; int rc; int count; @@ -156,14 +154,13 @@ static NTSTATUS ldap_config_load( LDAPMessage *result = NULL; LDAPMessage *entry = NULL; pstring filter; - pstring suffix; pstring attr_text; char *config_dn = NULL; char *temp; int rc; int count; - char *config_attr_list[] = {"description", NULL}; - char *share_attr_list[] = {"sambaShareName", "description", NULL}; + const char *config_attr_list[] = {"description", NULL}; + const char *share_attr_list[] = {"sambaShareName", "description", NULL}; char **share_dn; char **share_name; |