[vlc-devel] commit: skins2: print only one error when the skins can't be loaded. ( Rémi Duraffort )

git version control git at videolan.org
Sun Jan 25 13:23:45 CET 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Jan 24 14:48:39 2009 +0100| [2975206b6428943c50168239140a1adeba723224] | committer: Rémi Duraffort 

skins2: print only one error when the skins can't be loaded.

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

 modules/gui/skins2/src/theme_loader.cpp |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/modules/gui/skins2/src/theme_loader.cpp b/modules/gui/skins2/src/theme_loader.cpp
index c547fda..3f9f9bc 100644
--- a/modules/gui/skins2/src/theme_loader.cpp
+++ b/modules/gui/skins2/src/theme_loader.cpp
@@ -359,10 +359,7 @@ bool ThemeLoader::parse( const string &path, const string &xmlFile )
     // Start the parser
     SkinParser parser( getIntf(), xmlFile, path );
     if( ! parser.parse() )
-    {
-        msg_Err( getIntf(), "failed to parse %s", xmlFile.c_str() );
         return false;
-    }
 
     // Build and store the theme
     Builder builder( getIntf(), parser.getData(), path );




More information about the vlc-devel mailing list