浏览代码

initialize variable

Victor Savu 12 年之前
父节点
当前提交
b0f8468ddc
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);