diff options
author | Greg Clayton <gclayton@apple.com> | 2010-07-09 20:39:50 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-07-09 20:39:50 +0000 |
commit | c982c768d248b21b82fbd70b61a4cc824cd82ddc (patch) | |
tree | 68c5d417ce51994a2d393e5a5a7f0025b6e4ed35 /lldb/source/API/SBFrame.cpp | |
parent | 2a5725b1a324639d0e16e9c125f5713acfabca60 (diff) | |
download | bcm5719-llvm-c982c768d248b21b82fbd70b61a4cc824cd82ddc.tar.gz bcm5719-llvm-c982c768d248b21b82fbd70b61a4cc824cd82ddc.zip |
Merged Eli Friedman's linux build changes where he added Makefile files that
enabled LLVM make style building and made this compile LLDB on Mac OS X. We
can now iterate on this to make the build work on both linux and macosx.
llvm-svn: 108009
Diffstat (limited to 'lldb/source/API/SBFrame.cpp')
-rw-r--r-- | lldb/source/API/SBFrame.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lldb/source/API/SBFrame.cpp b/lldb/source/API/SBFrame.cpp index cd9b4cd7b4f..b8c2f700fb2 100644 --- a/lldb/source/API/SBFrame.cpp +++ b/lldb/source/API/SBFrame.cpp @@ -187,7 +187,7 @@ SBFrame::LookupVar (const char *var_name) const uint32_t num_variables = variable_list.GetSize(); bool found = false; - for (int i = 0; i < num_variables && !found; ++i) + for (uint32_t i = 0; i < num_variables && !found; ++i) { var_sp = variable_list.GetVariableAtIndex(i); if (var_sp @@ -231,7 +231,7 @@ SBFrame::LookupVarInScope (const char *var_name, const char *scope) const uint32_t num_variables = variable_list.GetSize(); bool found = false; - for (int i = 0; i < num_variables && !found; ++i) + for (uint32_t i = 0; i < num_variables && !found; ++i) { var_sp = variable_list.GetVariableAtIndex(i); if (var_sp @@ -331,6 +331,9 @@ SBFrame::GetVariables (bool arguments, case eValueTypeVariableLocal: add_variable = locals; break; + + default: + break; } if (add_variable) { |