From 7e1f45f9c583cfb3bcb65aca7aa8f864eede3268 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Thu, 23 Feb 2012 22:32:13 +0000 Subject: Make a nested if .. if .. else block nesting more explicit with some curly braces. llvm-svn: 151292 --- lldb/source/Breakpoint/Watchpoint.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lldb/source/Breakpoint/Watchpoint.cpp') diff --git a/lldb/source/Breakpoint/Watchpoint.cpp b/lldb/source/Breakpoint/Watchpoint.cpp index ae2cdd92121..02ae8b8b4bc 100644 --- a/lldb/source/Breakpoint/Watchpoint.cpp +++ b/lldb/source/Breakpoint/Watchpoint.cpp @@ -129,18 +129,24 @@ Watchpoint::DumpWithLevel(Stream *s, lldb::DescriptionLevel description_level) c } if (description_level >= lldb::eDescriptionLevelVerbose) + { if (m_callback) + { s->Printf("\n hw_index = %i hit_count = %-4u ignore_count = %-4u callback = %8p baton = %8p", GetHardwareIndex(), GetHitCount(), GetIgnoreCount(), m_callback, m_callback_baton); + } else + { s->Printf("\n hw_index = %i hit_count = %-4u ignore_count = %-4u", GetHardwareIndex(), GetHitCount(), GetIgnoreCount()); + } + } } bool -- cgit v1.2.3