From b2321ebdf74d3579c607efdd80c088ebee2925d6 Mon Sep 17 00:00:00 2001 From: uz Date: Sat, 31 Jul 2010 09:44:25 +0000 Subject: [PATCH] Fixed an error: Some of the collections weren't initialized. git-svn-id: svn://svn.cc65.org/cc65/trunk@4775 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ld65/objdata.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ld65/objdata.c b/src/ld65/objdata.c index ade6192a7..89f8f8cd5 100644 --- a/src/ld65/objdata.c +++ b/src/ld65/objdata.c @@ -76,8 +76,12 @@ ObjData* NewObjData (void) O->Name = INVALID_STRING_ID; O->LibName = INVALID_STRING_ID; O->MTime = 0; - O->Flags = 0; O->Start = 0; + O->Flags = 0; + O->FileCount = 0; + O->Files = EmptyCollection; + O->SectionCount = 0; + O->Sections = EmptyCollection; O->ExportCount = 0; O->Exports = EmptyCollection; O->ImportCount = 0; -- 2.39.5