aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL
diff options
context:
space:
mode:
authorJan <sentrycraft123@gmail.com>2023-10-04 13:56:48 +0200
committerGitHub <noreply@github.com>2023-10-04 13:56:48 +0200
commit5798c6369c9c093ddd170397177ea75f674a7b4c (patch)
treec4d05f279fc1c7156fcf55db5ac22e65f0f09e20 /NorthstarDLL
parent1d30b2d5eeecb1b0bddf75c665939f9532ee235e (diff)
downloadNorthstarLauncher-5798c6369c9c093ddd170397177ea75f674a7b4c.tar.gz
NorthstarLauncher-5798c6369c9c093ddd170397177ea75f674a7b4c.zip
Give `g_pMemAllocSingleton` a default value (#563)
Give default value as standard does not define value if uninitialised.
Diffstat (limited to 'NorthstarDLL')
-rw-r--r--NorthstarDLL/core/tier0.cpp2
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;