commit | 96b4346660b445717aa2b8401946ed2059940333 | [log] [tgz] |
---|---|---|
author | Sarat Addepalli <SirR4T@users.noreply.github.com> | Wed May 20 10:36:06 2015 +0530 |
committer | Sarat Addepalli <SirR4T@users.noreply.github.com> | Wed May 20 10:36:06 2015 +0530 |
tree | 7b239dc68e4edb16baccb1da68a1d057e796f768 | |
parent | d608c561e04fa58afaca7744b39e28c726a5f2f2 [diff] [blame] |
Remove unnecessary cast in XMLNode::Value()
diff --git a/tinyxml2.cpp b/tinyxml2.cpp index e6bb328..cb68ce1 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp
@@ -646,7 +646,7 @@ const char* XMLNode::Value() const { if ( this->ToDocument() ) - return ( const char* )0; + return 0; return _value.GetStr(); }