Incremental fixes of issues found by Xcode static analyzer.

llvm-svn: 137267
This commit is contained in:
Johnny Chen 2011-08-10 23:01:39 +00:00
parent 35cdf36c32
commit 2fe7dd445b
2 changed files with 3 additions and 2 deletions

View File

@ -418,7 +418,8 @@ MachProcess::DoSIGSTOP (bool clear_bps_and_wps, uint32_t *thread_idx_ptr)
{
DisableAllBreakpoints (true);
DisableAllWatchpoints (true);
clear_bps_and_wps = false;
// Silence static analyzer.
// clear_bps_and_wps = false;
}
uint32_t thread_idx = m_thread_list.GetThreadIndexForThreadStoppedWithSignal (SIGSTOP);
if (thread_idx_ptr)

View File

@ -1003,7 +1003,7 @@ main (int argc, char *argv[])
case 'g':
debug = 1;
DNBLogSetDebug(1);
DNBLogSetDebug(debug);
break;
case 't':