From d6ef1dc15f6ff88202a32690b7133cd2030eaffb Mon Sep 17 00:00:00 2001 From: LoganDark Date: Mon, 8 Nov 2021 13:28:38 -0800 Subject: [PATCH] fix uninitialized pointer --- Compiler/include/Luau/Compiler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Compiler/include/Luau/Compiler.h b/Compiler/include/Luau/Compiler.h index 1002f263..51588cb4 100644 --- a/Compiler/include/Luau/Compiler.h +++ b/Compiler/include/Luau/Compiler.h @@ -37,9 +37,9 @@ struct CompileOptions const char* vectorLib = nullptr; const char* vectorCtor = nullptr; - // optional array of globals that are mutable; disables the import optimization for fields accessed through them + // array of globals that are mutable; disables the import optimization for fields accessed through them // use NULL to end the array - const char** mutableGlobalNames; + const char** mutableGlobalNames = nullptr; }; class CompileError : public std::exception