[ekiga] Fixed cppcheck warnings



commit 76ee687a476de48e928e81b59c8e9eaf1dd3ac3f
Author: Julien Puydt <jpuydt cauchy localdomain>
Date:   Mon Apr 14 21:44:42 2014 +0200

    Fixed cppcheck warnings
    
    Quite useless since the default ctors were adequately covering us...

 plugins/ldap/ldap-source.cpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/ldap/ldap-source.cpp b/plugins/ldap/ldap-source.cpp
index bb58986..d887647 100644
--- a/plugins/ldap/ldap-source.cpp
+++ b/plugins/ldap/ldap-source.cpp
@@ -142,9 +142,11 @@ OPENLDAP::Source::new_book ()
 
   bookinfo.name = "";
   bookinfo.uri = "ldap://localhost/dc=net?cn,telephoneNumber?sub?(cn=$)";
+  bookinfo.uri_host = "";
   bookinfo.authcID = "";
   bookinfo.password = "";
   bookinfo.saslMech = "";
+  bookinfo.urld = boost::shared_ptr<LDAPURLDesc> ();
   bookinfo.sasl = false;
   bookinfo.starttls = false;
 
@@ -161,9 +163,11 @@ OPENLDAP::Source::new_ekiga_net_book ()
   bookinfo.name = _("Ekiga.net Directory");
   bookinfo.uri =
     "ldap://ekiga.net/dc=ekiga,dc=net?givenName,telephoneNumber?sub?(cn=$)";
+  bookinfo.uri_host = "";
   bookinfo.authcID = "";
   bookinfo.password = "";
   bookinfo.saslMech = "";
+  bookinfo.urld = boost::shared_ptr<LDAPURLDesc> ();
   bookinfo.sasl = false;
   bookinfo.starttls = false;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]