diff options
author | Jan <sentrycraft123@gmail.com> | 2023-10-04 13:56:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 13:56:48 +0200 |
commit | 5798c6369c9c093ddd170397177ea75f674a7b4c (patch) | |
tree | c4d05f279fc1c7156fcf55db5ac22e65f0f09e20 | |
parent | 1d30b2d5eeecb1b0bddf75c665939f9532ee235e (diff) | |
download | NorthstarLauncher-5798c6369c9c093ddd170397177ea75f674a7b4c.tar.gz NorthstarLauncher-5798c6369c9c093ddd170397177ea75f674a7b4c.zip |
Give `g_pMemAllocSingleton` a default value (#563)
Give default value as standard does not define value if uninitialised.
-rw-r--r-- | NorthstarDLL/core/tier0.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/core/tier0.cpp b/NorthstarDLL/core/tier0.cpp index 3b9996a1..16709384 100644 --- a/NorthstarDLL/core/tier0.cpp +++ b/NorthstarDLL/core/tier0.cpp @@ -3,7 +3,7 @@ // use the Tier0 namespace for tier0 funcs namespace Tier0 { - IMemAlloc* g_pMemAllocSingleton; + IMemAlloc* g_pMemAllocSingleton = nullptr; ErrorType Error; CommandLineType CommandLine; |