diff options
author | Greg Clayton <gclayton@apple.com> | 2010-07-14 00:18:15 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-07-14 00:18:15 +0000 |
commit | b132097b4558cd3fd697eedc1c26581d37b6e266 (patch) | |
tree | 78d5945f162b13c4decc0760e149f4625e64a059 /lldb/source/Commands/CommandObjectImage.cpp | |
parent | c3d6cb65431c8b01dbbddb0bc0821a0393d51bf0 (diff) | |
download | bcm5719-llvm-b132097b4558cd3fd697eedc1c26581d37b6e266.tar.gz bcm5719-llvm-b132097b4558cd3fd697eedc1c26581d37b6e266.zip |
I enabled some extra warnings for hidden local variables and for hidden
virtual functions and caught some things and did some general code cleanup.
llvm-svn: 108299
Diffstat (limited to 'lldb/source/Commands/CommandObjectImage.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectImage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectImage.cpp b/lldb/source/Commands/CommandObjectImage.cpp index 0b61816fbcb..b6b0d2469e9 100644 --- a/lldb/source/Commands/CommandObjectImage.cpp +++ b/lldb/source/Commands/CommandObjectImage.cpp @@ -1395,9 +1395,9 @@ public: if (num_matching_modules > 0) { - for (size_t i=0; i<num_matching_modules; ++i) + for (size_t j=0; j<num_matching_modules; ++j) { - Module * image_module = matching_modules.GetModulePointerAtIndex(i); + Module * image_module = matching_modules.GetModulePointerAtIndex(j); if (image_module) { if (LookupInModule (interpreter, image_module, result, syntax_error)) |