From d421aabe098e7d79537d6ed59e12bbe202e7622c Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Fri, 15 May 2020 20:10:45 +0200 Subject: Fix use of uninitialized group->root.core.HasCRC --- src/cc4group.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cc4group.c') 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(); -- cgit v1.2.3-54-g00ecf