[vlc-commits] xml: use defined value for return val
    Francois Cartegnie 
    git at videolan.org
       
    Sat May 10 17:01:23 CEST 2014
    
    
  
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed May  7 20:26:16 2014 +0200| [81aa4ddbe3ae3e87687d860b802582cf4a160238] | committer: Francois Cartegnie
xml: use defined value for return val
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=81aa4ddbe3ae3e87687d860b802582cf4a160238
---
 modules/misc/xml/libxml.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/misc/xml/libxml.c b/modules/misc/xml/libxml.c
index b9834a7..b7cf654 100644
--- a/modules/misc/xml/libxml.c
+++ b/modules/misc/xml/libxml.c
@@ -221,7 +221,7 @@ skip:
     switch( xmlTextReaderRead( p_sys->xml ) )
     {
         case 0: /* EOF */
-            return 0;
+            return XML_READER_NONE;
         case -1: /* error */
             return -1;
     }
    
    
More information about the vlc-commits
mailing list