From 4bb67db3b1ed2485e465e938955b09c9d38d7fa2 Mon Sep 17 00:00:00 2001 From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org> Date: Tue, 16 Sep 2008 06:42:06 +0000 Subject: [PATCH] STYLE: Adding () to remove warning --- Utilities/tinyXMLlib/tinyxmlparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/tinyXMLlib/tinyxmlparser.cpp b/Utilities/tinyXMLlib/tinyxmlparser.cpp index 9c91b4f946..3b46a2f714 100644 --- a/Utilities/tinyXMLlib/tinyxmlparser.cpp +++ b/Utilities/tinyXMLlib/tinyxmlparser.cpp @@ -354,7 +354,7 @@ const char* TiXmlBase::SkipWhiteSpace( const char* p, TiXmlEncoding encoding ) } else { - while ( *p && IsWhiteSpace( *p ) || *p == '\n' || *p =='\r' ) + while ( (*p && IsWhiteSpace( *p )) || *p == '\n' || *p =='\r' ) ++p; } -- GitLab