瀏覽代碼

Better variable name

Dmitry-Me 8 年之前
父節點
當前提交
effab6ff06
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tinyxml2.h

+ 2 - 2
tinyxml2.h

@@ -341,8 +341,8 @@ public:
     void Clear() {
         // Delete the blocks.
         while( !_blockPtrs.Empty()) {
-            Block* b  = _blockPtrs.Pop();
-            delete b;
+            Block* lastBlock = _blockPtrs.Pop();
+            delete lastBlock;
         }
         _root = 0;
         _currentAllocs = 0;