summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBFrame.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2013-05-15 18:27:08 +0000
committerJim Ingham <jingham@apple.com>2013-05-15 18:27:08 +0000
commit5c42d8a87ca7e3744c42926092444994595a688e (patch)
tree57817946defe1e672cc7923a01d220831ce13bcf /lldb/source/API/SBFrame.cpp
parent0f2a6fe613a6b5f196e84412baa1251a0b5e4ff0 (diff)
downloadbcm5719-llvm-5c42d8a87ca7e3744c42926092444994595a688e.tar.gz
bcm5719-llvm-5c42d8a87ca7e3744c42926092444994595a688e.zip
Fixed a few obvious errors pointed out by the static analyzer.
llvm-svn: 181911
Diffstat (limited to 'lldb/source/API/SBFrame.cpp')
-rw-r--r--lldb/source/API/SBFrame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBFrame.cpp b/lldb/source/API/SBFrame.cpp
index 4895ab8f22f..282206066f7 100644
--- a/lldb/source/API/SBFrame.cpp
+++ b/lldb/source/API/SBFrame.cpp
@@ -678,7 +678,7 @@ SBFrame::GetValueForVariablePath (const char *var_path, DynamicValueType use_dyn
ExecutionContext exe_ctx (m_opaque_sp.get(), api_locker);
- StackFrame *frame = exe_ctx.GetFramePtr();
+ StackFrame *frame = NULL;
Target *target = exe_ctx.GetTargetPtr();
Process *process = exe_ctx.GetProcessPtr();
if (target && process)
OpenPOWER on IntegriCloud