[vlc-devel] commit: UPnP services discovery: Remove a useless function (Mirsal Ennaime )

git version control git at videolan.org
Sun Jan 4 15:41:39 CET 2009


vlc | branch: master | Mirsal Ennaime <mirsal at mirsal-laptop.(none)> | Sun Jan  4 15:38:44 2009 +0100| [c31a81335ee64828c956b611840ad7fdffc0c0af] | committer: Mirsal Ennaime 

UPnP services discovery: Remove a useless function

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c31a81335ee64828c956b611840ad7fdffc0c0af
---

 modules/services_discovery/upnp_intel.cpp |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/modules/services_discovery/upnp_intel.cpp b/modules/services_discovery/upnp_intel.cpp
index 1e1b4f8..645fb04 100644
--- a/modules/services_discovery/upnp_intel.cpp
+++ b/modules/services_discovery/upnp_intel.cpp
@@ -254,7 +254,6 @@ private:
 
 static int Open( vlc_object_t* );
 static void Close( vlc_object_t* );
-static void Run( services_discovery_t *p_sd );
 
 // Module descriptor
 
@@ -334,20 +333,6 @@ static void Close( vlc_object_t *p_this )
     free( p_sd->p_sys );
 }
 
-static void Run( services_discovery_t* p_sd )
-{
-
-    msg_Dbg( p_sd, "UPnP discovery started" );
-    while( vlc_object_alive (p_sd) )
-    {
-        msleep( 500 );
-    }
-
-    msg_Dbg( p_sd, "UPnP discovery stopped" );
-
-}
-
-
 // XML utility functions:
 
 // Returns the value of a child element, or 0 on error




More information about the vlc-devel mailing list