diff options
author | Gunter Knauf <gk@gknw.de> | 2007-08-16 15:23:39 +0000 |
---|---|---|
committer | Gunter Knauf <gk@gknw.de> | 2007-08-16 15:23:39 +0000 |
commit | 29ac001aa64a2c9058433da39febe9da40cb884a (patch) | |
tree | b947e4366d8f06a19dc00397d77025f6791f787e /lib | |
parent | ccba0d10b6baf5c73cae8cf4fb3f29f0f55c5a34 (diff) |
fixed warning about uninitialized.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldap.c b/lib/ldap.c index 28253f98c..464f2cf98 100644 --- a/lib/ldap.c +++ b/lib/ldap.c @@ -136,7 +136,7 @@ CURLcode Curl_ldap(struct connectdata *conn, bool *done) { CURLcode status = CURLE_OK; int rc = 0; - LDAP *server; + LDAP *server = NULL; LDAPURLDesc *ludp = NULL; LDAPMessage *result = NULL; LDAPMessage *entryIterator; |