Ver código fonte

Remove unnecessary cast in XMLNode::Value()

Sarat Addepalli 11 anos atrás
pai
commit
96b4346660
1 arquivos alterados com 1 adições e 1 exclusões
  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();
 }