From 96b4346660b445717aa2b8401946ed2059940333 Mon Sep 17 00:00:00 2001 From: Sarat Addepalli Date: Wed, 20 May 2015 10:36:06 +0530 Subject: [PATCH] Remove unnecessary cast in XMLNode::Value() --- tinyxml2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinyxml2.cpp b/tinyxml2.cpp index e6bb328..cb68ce1 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp @@ -646,7 +646,7 @@ XMLNode::~XMLNode() const char* XMLNode::Value() const { if ( this->ToDocument() ) - return ( const char* )0; + return 0; return _value.GetStr(); }