[ekiga/v4_0] h323-endpoint: remove unused code



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

    h323-endpoint: remove unused code
    
    This code is not used at all. Even more it is commented out, and it
    makes reference to aor (address of register) which only makes sense in
    SIP.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=690618

 lib/engine/components/opal/h323-endpoint.cpp |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/lib/engine/components/opal/h323-endpoint.cpp b/lib/engine/components/opal/h323-endpoint.cpp
index 7c9c0e9..cf2ba7b 100644
--- a/lib/engine/components/opal/h323-endpoint.cpp
+++ b/lib/engine/components/opal/h323-endpoint.cpp
@@ -308,8 +308,6 @@ void
 Opal::H323::EndPoint::Register (const Opal::Account& account)
 {
   std::string info;
-  std::string aor = account.get_aor ();
-
   bool unregister = !account.is_enabled ();
 
   if (!unregister && !IsRegisteredWithGatekeeper (account.get_host ())) {
@@ -368,16 +366,6 @@ Opal::H323::EndPoint::Register (const Opal::Account& account)
       Ekiga::Runtime::run_in_main (boost::bind (&Opal::H323::EndPoint::registration_event_in_main, this, boost::cref (account), Account::Registered, std::string ()));
     }
   }
-  else if (unregister && IsRegisteredWithGatekeeper (account.get_host ())) {
-    /*
-
-       H323EndPoint::RemoveGatekeeper (0);
-       RemoveAliasName (account.get_username ());
-
-    // Signal 
-    Ekiga::Runtime::run_in_main (boost::bind (&Opal::H323::EndPoint::registration_event_in_main, this, boost::cref (account), Ekiga::Account::Unregistered, std::string ()));
-     */
-  }
 }
 
 



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