From 29ac001aa64a2c9058433da39febe9da40cb884a Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Thu, 16 Aug 2007 15:23:39 +0000 Subject: fixed warning about uninitialized. --- lib/ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; -- cgit v1.2.3