From e4e231d7dc38327bbefda8fef3aed79b90965f15 Mon Sep 17 00:00:00 2001 From: Lukas Kurz Date: Sat, 22 Oct 2022 23:49:54 +0200 Subject: [PATCH] Fix compiler error https://github.com/chakra-core/ChakraCore/pull/6857#issuecomment-1287759372 --- lib/Common/Memory/RecyclerObjectGraphDumper.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Common/Memory/RecyclerObjectGraphDumper.cpp b/lib/Common/Memory/RecyclerObjectGraphDumper.cpp index 0885df3fbc1..3a2f30d6619 100644 --- a/lib/Common/Memory/RecyclerObjectGraphDumper.cpp +++ b/lib/Common/Memory/RecyclerObjectGraphDumper.cpp @@ -1,5 +1,6 @@ //------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. +// Copyright (c) ChakraCore Project Contributors. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //------------------------------------------------------------------------------------------------------- #include "CommonMemoryPch.h" @@ -58,7 +59,7 @@ void RecyclerObjectGraphDumper::BeginDumpObject(void * objectAddress) { Assert(false); this->dumpObjectTypeInfo = nullptr; - this->dumpObjectIsArray = nullptr; + this->dumpObjectIsArray = false; } } #endif