瀏覽代碼

Remove unnecessary cast in XMLNode::Value()

Sarat Addepalli 10 年之前
父節點
當前提交
96b4346660
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tinyxml2.cpp

+ 1 - 1
tinyxml2.cpp

@@ -646,7 +646,7 @@ XMLNode::~XMLNode()
 const char* XMLNode::Value() const 
 const char* XMLNode::Value() const 
 {
 {
     if ( this->ToDocument() )
     if ( this->ToDocument() )
-        return ( const char* )0;
+        return 0;
     return _value.GetStr();
     return _value.GetStr();
 }
 }