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
This commit is contained in:
Greg Clayton
2010-07-14 00:18:15 +00:00
parent c3d6cb6543
commit b132097b45
28 changed files with 84 additions and 83 deletions

View File

@@ -552,7 +552,7 @@ ClangFunction::ExecuteFunction(
{
timeout_ptr = NULL;
lldb::StateType stop_state = process->WaitForStateChangedEvents (timeout_ptr, event_sp);
stop_state = process->WaitForStateChangedEvents (timeout_ptr, event_sp);
if (stop_state == lldb::eStateInvalid)
{
errors.Printf ("Got an invalid stop state after halt.");