forked from OSchip/llvm-project
[lldb][NFC] Also initialize language_flags in ValueObject::Dereference
We currently rely on the TypeSystem implementation to initialize this value with 0 in the GetChildCompilerTypeAtIndex call below. Let's just initialize this variable like the rest.
This commit is contained in:
parent
b6c6bab9a5
commit
d7c2c2ed79
|
@ -2810,7 +2810,7 @@ ValueObjectSP ValueObject::Dereference(Status &error) {
|
||||||
const bool transparent_pointers = false;
|
const bool transparent_pointers = false;
|
||||||
CompilerType compiler_type = GetCompilerType();
|
CompilerType compiler_type = GetCompilerType();
|
||||||
CompilerType child_compiler_type;
|
CompilerType child_compiler_type;
|
||||||
uint64_t language_flags;
|
uint64_t language_flags = 0;
|
||||||
|
|
||||||
ExecutionContext exe_ctx(GetExecutionContextRef());
|
ExecutionContext exe_ctx(GetExecutionContextRef());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue