ekiga r7298 - in trunk: . src/endpoints



Author: dsandras
Date: Mon Oct 27 21:56:41 2008
New Revision: 7298
URL: http://svn.gnome.org/viewvc/ekiga?rev=7298&view=rev

Log:
Simplified code.


Modified:
   trunk/ChangeLog
   trunk/src/endpoints/manager.cpp

Modified: trunk/src/endpoints/manager.cpp
==============================================================================
--- trunk/src/endpoints/manager.cpp	(original)
+++ trunk/src/endpoints/manager.cpp	Mon Oct 27 21:56:41 2008
@@ -628,9 +628,7 @@
 
 OpalCall *CallManager::CreateCall ()
 {
-  gmref_ptr<Ekiga::Call> call = NULL;
-
-  call = gmref_ptr<Ekiga::Call> (new Opal::Call (*this, core));
+  gmref_ptr<Ekiga::Call> call = new Opal::Call (*this, core);
   call_core->add_call (call, this);
 
   return dynamic_cast<OpalCall *> (&*call);



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