[ekiga] h323-endpoint: remove gatekeeperID variable



commit d082d4dee82de68ca3e5da91ce21c3305475b7fb
Author: VÃctor Manuel JÃquez Leal <vjaquez igalia com>
Date:   Mon Dec 3 15:34:05 2012 +0100

    h323-endpoint: remove gatekeeperID variable
    
    The gatkeeperID is not assigned, so no information is passed to it,
    hence it is better to use the default parameter value (Empty), and the
    code is more clean.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=690618

 lib/engine/components/opal/h323-endpoint.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/lib/engine/components/opal/h323-endpoint.cpp b/lib/engine/components/opal/h323-endpoint.cpp
index 8101ceb..7c9c0e9 100644
--- a/lib/engine/components/opal/h323-endpoint.cpp
+++ b/lib/engine/components/opal/h323-endpoint.cpp
@@ -307,7 +307,6 @@ Opal::H323::EndPoint::unsubscribe (const Opal::Account & account,
 void
 Opal::H323::EndPoint::Register (const Opal::Account& account)
 {
-  PString gatekeeperID;
   std::string info;
   std::string aor = account.get_aor ();
 
@@ -324,7 +323,7 @@ Opal::H323::EndPoint::Register (const Opal::Account& account)
 
     SetGatekeeperPassword (account.get_password ());
     SetGatekeeperTimeToLive (account.get_timeout () * 1000);
-    bool result = UseGatekeeper (account.get_host (), gatekeeperID);
+    bool result = UseGatekeeper (account.get_host ());
 
     // There was an error (missing parameter or registration failed)
     // or the user chose to not register



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