summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2020-05-15 20:10:45 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2020-05-15 20:10:45 +0200
commitd421aabe098e7d79537d6ed59e12bbe202e7622c (patch)
treee3b2040f6de39cd493d1f107bd5f2a65cf1ea0f5 /src
parentcbbf4113939d44ad0c91462895f8329cfc770f67 (diff)
downloadcc4group-d421aabe098e7d79537d6ed59e12bbe202e7622c.tar.gz
cc4group-d421aabe098e7d79537d6ed59e12bbe202e7622c.zip
Fix use of uninitialized group->root.core.HasCRCHEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/cc4group.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cc4group.c b/src/cc4group.c
index 0435c72..f9add60 100644
--- a/src/cc4group.c
+++ b/src/cc4group.c
@@ -1249,6 +1249,7 @@ static void cc4group_init(CC4Group* const this)
this->root.parent = NULL;
this->root.children = NULL;
this->root.core.Directory = true;
+ this->root.core.HasCRC = C4GroupEntryCore_NoCRC;
this->root.path = NULL;
this->cleanupJobs = CleanUpJobListNew();