summaryrefslogtreecommitdiff
path: root/source/Breakpoint/Watchpoint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Breakpoint/Watchpoint.cpp')
-rw-r--r--source/Breakpoint/Watchpoint.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/source/Breakpoint/Watchpoint.cpp b/source/Breakpoint/Watchpoint.cpp
index 7a936d1fb130..34daaee64ccd 100644
--- a/source/Breakpoint/Watchpoint.cpp
+++ b/source/Breakpoint/Watchpoint.cpp
@@ -7,10 +7,6 @@
//
//===----------------------------------------------------------------------===//
-// C Includes
-// C++ Includes
-// Other libraries and framework includes
-// Project includes
#include "lldb/Breakpoint/Watchpoint.h"
#include "lldb/Breakpoint/StoppointCallbackContext.h"
@@ -135,10 +131,7 @@ void Watchpoint::IncrementFalseAlarmsAndReviseHitCount() {
bool Watchpoint::ShouldStop(StoppointCallbackContext *context) {
IncrementHitCount();
- if (!IsEnabled())
- return false;
-
- return true;
+ return IsEnabled();
}
void Watchpoint::GetDescription(Stream *s, lldb::DescriptionLevel level) {