[vlc-commits] commit: skins2: missing initialization ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Thu Aug 5 18:08:36 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug  5 18:58:16 2010 +0300| [d74fa0c527554ec376ee99508db0366407e9ee27] | committer: Rémi Denis-Courmont 

skins2: missing initialization

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

 modules/gui/skins2/parser/xmlparser.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/skins2/parser/xmlparser.cpp b/modules/gui/skins2/parser/xmlparser.cpp
index fea743a..a0bc72a 100644
--- a/modules/gui/skins2/parser/xmlparser.cpp
+++ b/modules/gui/skins2/parser/xmlparser.cpp
@@ -58,6 +58,7 @@ XMLParser::XMLParser( intf_thread_t *pIntf, const string &rFileName,
     {
         msg_Err( getIntf(), "failed to open %s for reading",
                  rFileName.c_str() );
+        m_pReader = NULL;
         return;
     }
     m_pReader = xml_ReaderCreate( m_pXML, m_pStream );



More information about the vlc-commits mailing list