]> git.sesse.net Git - vlc/commitdiff
Kill a warning
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 17 Nov 2011 15:34:44 +0000 (16:34 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 17 Nov 2011 15:34:44 +0000 (16:34 +0100)
modules/stream_filter/dash/xml/DOMParser.cpp

index aa18f91628e6b8272ee08e80ba5b1c7b50371955..b3a6e16d6e776dd7815a2dbf44db2a53b5ebafbf 100644 (file)
@@ -81,7 +81,7 @@ Node*   DOMParser::processNode              ()
 
         Node *subnode = NULL;
 
-        while(subnode = this->processNode())
+        while((subnode = this->processNode()) != NULL)
             node->addSubNode(subnode);
 
         return node;