From: uz Date: Sat, 31 Jul 2010 09:44:25 +0000 (+0000) Subject: Fixed an error: Some of the collections weren't initialized. X-Git-Tag: V2.13.3~676 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b2321ebdf74d3579c607efdd80c088ebee2925d6;p=cc65 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 --- 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;