[vlc-commits] Kill a warning

Jean-Baptiste Kempf git at videolan.org
Thu Nov 17 17:04:53 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Nov 17 16:34:44 2011 +0100| [e202b76c0e7c7417000c8e5489ab576e8e5acd48] | committer: Jean-Baptiste Kempf

Kill a warning

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

 modules/stream_filter/dash/xml/DOMParser.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/stream_filter/dash/xml/DOMParser.cpp b/modules/stream_filter/dash/xml/DOMParser.cpp
index aa18f91..b3a6e16 100644
--- a/modules/stream_filter/dash/xml/DOMParser.cpp
+++ b/modules/stream_filter/dash/xml/DOMParser.cpp
@@ -81,7 +81,7 @@ Node*   DOMParser::processNode              ()
 
         Node *subnode = NULL;
 
-        while(subnode = this->processNode())
+        while((subnode = this->processNode()) != NULL)
             node->addSubNode(subnode);
 
         return node;



More information about the vlc-commits mailing list