summaryrefslogtreecommitdiff
path: root/zen/globals.h
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-10-11 11:16:39 -0400
committerB. Stack <bgstack15@gmail.com>2022-10-11 11:16:39 -0400
commitcab22f2dc3c5f41b5163f74cbb233e390edff6ff (patch)
treea49cfd729d9793681a57fa6f7409b0f0848e9ede /zen/globals.h
parentMerge branch 'b11.25' into 'master' (diff)
downloadFreeFileSync-cab22f2dc3c5f41b5163f74cbb233e390edff6ff.tar.gz
FreeFileSync-cab22f2dc3c5f41b5163f74cbb233e390edff6ff.tar.bz2
FreeFileSync-cab22f2dc3c5f41b5163f74cbb233e390edff6ff.zip
add upstream 11.26
Diffstat (limited to 'zen/globals.h')
-rw-r--r--zen/globals.h3
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!");
bgstack15