From 764545e02a72c061e4fc5902805d2bfafcf5e2bd Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Wed, 20 May 2015 10:29:24 +0300 Subject: [PATCH] Explicitly check entity was not found --- tinyxml2.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tinyxml2.cpp b/tinyxml2.cpp index 3c0eef3..ad3253c 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp @@ -243,8 +243,8 @@ const char* StrPair::GetStr() } } else { - int i=0; - for(; i