[vlc-commits] upnp sd: Fix a warning introduced in the previous commit

Mirsal Ennaime git at videolan.org
Fri Dec 28 00:32:07 CET 2012


vlc | branch: master | Mirsal Ennaime <mirsal at videolan.org> | Fri Dec 28 00:28:52 2012 +0100| [41271ce9556ff82d6165b024da71f178c8947453] | committer: Mirsal Ennaime

upnp sd: Fix a warning introduced in the previous commit

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

 modules/services_discovery/upnp.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/services_discovery/upnp.cpp b/modules/services_discovery/upnp.cpp
index 538ab1c..a95b68c 100644
--- a/modules/services_discovery/upnp.cpp
+++ b/modules/services_discovery/upnp.cpp
@@ -882,7 +882,7 @@ bool MediaServer::_fetchContents( Container* p_parent, int i_offset )
                 for ( int i = 0; i < i_length; i++ )
                 {
                     mtime_t i_duration = -1;
-                    int i_hours, i_minutes, i_seconds, i_decis;
+                    int i_hours, i_minutes, i_seconds;
                     IXML_Element* p_resource = ( IXML_Element* ) ixmlNodeList_item( p_resource_list, i );
                     const char* psz_resource_url = xml_getChildElementValue( p_resource, "res" );
                     if( !psz_resource_url )



More information about the vlc-commits mailing list