diff options
| author | Slava Gurevich <sgurevich@gmail.com> | 2022-07-26 14:18:41 -0700 |
|---|---|---|
| committer | Slava Gurevich <sgurevich@gmail.com> | 2022-07-27 10:39:49 -0700 |
| commit | 24301569f080d60f644d7a69496596cbd65079ce (patch) | |
| tree | f074265fe1de91d00ecbd190012a04902dfbd77b /lldb/source/Expression/LLVMUserExpression.cpp | |
| parent | 0562cf442f128e2665ecddc68ca9511a6a4a479b (diff) | |
[LLDB][NFC][Reliability] Fix uninitialized variables from Coverity scan. Part 3
Improve LLDB reliability by fixing the following "uninitialized variables" static code inspection warnings from
scan.coverity.com/projects/llvm:
1355854, 1347549, 1316348, 1372028, 1431625,
1315634, 1315637, 1355855, 1364803, 1420505,
1420563, 1420685, 1366014, 1203966, 1204029,
1204031, 1204032, 1328411, 1325969, 1325968,
1374921, 1094809
Differential Revision: https://reviews.llvm.org/D130602
Diffstat (limited to 'lldb/source/Expression/LLVMUserExpression.cpp')
| -rw-r--r-- | lldb/source/Expression/LLVMUserExpression.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Expression/LLVMUserExpression.cpp b/lldb/source/Expression/LLVMUserExpression.cpp index d67660812150..6d11abbf876f 100644 --- a/lldb/source/Expression/LLVMUserExpression.cpp +++ b/lldb/source/Expression/LLVMUserExpression.cpp @@ -48,8 +48,8 @@ LLVMUserExpression::LLVMUserExpression(ExecutionContextScope &exe_scope, m_stack_frame_bottom(LLDB_INVALID_ADDRESS), m_stack_frame_top(LLDB_INVALID_ADDRESS), m_allow_cxx(false), m_allow_objc(false), m_transformed_text(), m_execution_unit_sp(), - m_materializer_up(), m_jit_module_wp(), m_can_interpret(false), - m_materialized_address(LLDB_INVALID_ADDRESS) {} + m_materializer_up(), m_jit_module_wp(), m_target(nullptr), + m_can_interpret(false), m_materialized_address(LLDB_INVALID_ADDRESS) {} LLVMUserExpression::~LLVMUserExpression() { if (m_target) { |
