Parcourir la source

Remove unnecessary cast in XMLNode::Value()

Sarat Addepalli il y a 11 ans
Parent
commit
96b4346660
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      tinyxml2.cpp

+ 1 - 1
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();
 }