I enabled some extra warnings for hidden local variables and for hidden
virtual functions and caught some things and did some general code cleanup.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@108299 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectImage.cpp b/source/Commands/CommandObjectImage.cpp
index 0b61816..b6b0d24 100644
--- a/source/Commands/CommandObjectImage.cpp
+++ b/source/Commands/CommandObjectImage.cpp
@@ -1395,9 +1395,9 @@
                     
                     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))