Make a nested if .. if .. else block nesting more explicit with some curly braces.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151292 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Breakpoint/Watchpoint.cpp b/source/Breakpoint/Watchpoint.cpp
index ae2cdd9..02ae8b8 100644
--- a/source/Breakpoint/Watchpoint.cpp
+++ b/source/Breakpoint/Watchpoint.cpp
@@ -129,18 +129,24 @@
}
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