diff options
author | B. Stack <bgstack15@gmail.com> | 2022-10-11 15:17:59 +0000 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-10-11 15:17:59 +0000 |
commit | 38c826621a39831d1bdc78aa9e45cc592db3e77f (patch) | |
tree | a49cfd729d9793681a57fa6f7409b0f0848e9ede /zen/globals.h | |
parent | Merge branch 'b11.25' into 'master' (diff) | |
parent | add upstream 11.26 (diff) | |
download | FreeFileSync-11.26.tar.gz FreeFileSync-11.26.tar.bz2 FreeFileSync-11.26.zip |
Merge branch 'b11.26' into 'master'11.26
add upstream 11.26
See merge request opensource-tracking/FreeFileSync!49
Diffstat (limited to 'zen/globals.h')
-rw-r--r-- | zen/globals.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/zen/globals.h b/zen/globals.h index dd0dfed9..9e22f56b 100644 --- a/zen/globals.h +++ b/zen/globals.h @@ -10,7 +10,6 @@ #include <atomic> #include <memory> #include "scope_guard.h" -#include "legacy_compiler.h" namespace zen @@ -188,7 +187,7 @@ void registerGlobalForDestruction(CleanUpEntry& entry) static struct { PodSpinMutex spinLock; - CleanUpEntry* head; + CleanUpEntry* head = nullptr; } cleanUpList; static_assert(std::is_trivially_destructible_v<decltype(cleanUpList)>, "we must not generate code for magic statics!"); |