[vlc-commits] upnp: m_sd is never changed

Steve Lhomme git at videolan.org
Wed Jun 1 17:42:21 CEST 2016


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Wed Jun  1 16:38:06 2016 +0200| [1e678ab3877233b07bb36f6441fb25f8e24b98d3] | committer: Jean-Baptiste Kempf

upnp: m_sd is never changed

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/modules/services_discovery/upnp.hpp b/modules/services_discovery/upnp.hpp
index d38ebe3..4b46c52 100644
--- a/modules/services_discovery/upnp.hpp
+++ b/modules/services_discovery/upnp.hpp
@@ -112,7 +112,7 @@ private:
     std::string getIconURL( IXML_Element* p_device_elem , const char* psz_base_url );
 
 private:
-    services_discovery_t* m_sd;
+    services_discovery_t* const m_sd;
     std::vector<MediaServerDesc*> m_list;
     vlc_mutex_t m_lock;
 };



More information about the vlc-commits mailing list