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.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@108009 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBFrame.cpp b/source/API/SBFrame.cpp
index cd9b4cd..b8c2f70 100644
--- a/source/API/SBFrame.cpp
+++ b/source/API/SBFrame.cpp
@@ -187,7 +187,7 @@
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 @@
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 @@
case eValueTypeVariableLocal:
add_variable = locals;
break;
+
+ default:
+ break;
}
if (add_variable)
{