]> granicus.if.org Git - curl/commitdiff
fixed warning about uninitialized.
authorGunter Knauf <gk@gknw.de>
Thu, 16 Aug 2007 15:23:39 +0000 (15:23 +0000)
committerGunter Knauf <gk@gknw.de>
Thu, 16 Aug 2007 15:23:39 +0000 (15:23 +0000)
lib/ldap.c

index 28253f98c664e3e7edd5b36e039f0ba2a5b7fa5f..464f2cf986d6f7b7186b924f4267dad4891b49ca 100644 (file)
@@ -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;