Browse Source

initialize variable

Victor Savu 12 years ago
parent
commit
b0f8468ddc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spine-cpp/src/spine/BaseAtlas.cpp

+ 1 - 1
spine-cpp/src/spine/BaseAtlas.cpp

@@ -105,7 +105,7 @@ void BaseAtlas::load (const char *current, const char *end) {
 
 	string value;
 	string tuple[4];
-	BaseAtlasPage *page;
+	BaseAtlasPage *page = NULL;
 	while (current != end) {
 		readLine(current, end, value);
 		trim(value);