Bläddra i källkod

Merge pull request #590 from Dmitry-Me/betterVariableName

Better variable name
Lee Thomason 8 år sedan
förälder
incheckning
48725fa8ec
1 ändrade filer med 2 tillägg och 2 borttagningar
  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;