From: Jerome St-Louis Date: Wed, 2 Jul 2014 00:33:29 +0000 (-0400) Subject: ide/Project: Fixed a crash in LegacyLoad introduced by eff6d0cfcbf71a54870f8a965174bb... X-Git-Tag: 0.44.10PR1~95 X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=5018e11f8f287f975d7a903eddeaa5b37eb4c2eb;p=sdk ide/Project: Fixed a crash in LegacyLoad introduced by eff6d0cfcbf71a54870f8a965174bb641b24fcb1 --- diff --git a/ide/src/project/Project.ec b/ide/src/project/Project.ec index 0baa9ff..4cf6658 100644 --- a/ide/src/project/Project.ec +++ b/ide/src/project/Project.ec @@ -4029,12 +4029,11 @@ void ProjectConfig::LegacyProjectConfigLoad(File f) Project LegacyAsciiLoadProject(File f, const char * filePath) { Project project = null; - //ProjectNode node = null; int pos; char parentPath[MAX_LOCATION]; char section[128] = ""; char subSection[128] = ""; - ProjectNode parent = project.topNode; + ProjectNode parent = null; bool configurationsPresent = false; f.Seek(0, start);