summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2017-02-15 11:21:50 +0100
committerRobert Loehning <robert.loehning@qt.io>2017-02-15 10:35:14 +0000
commitf2a225db720e4f599fb3c45c35a91f38a6d0335e (patch)
tree8190883da7d9cb4b688d81b09d7273a7bdde849a
parent3c91c83f41412cb778df404eb54c94ac31a6d421 (diff)
downloadqt-creator-f2a225db720e4f599fb3c45c35a91f38a6d0335e.tar.gz
Debugger: Remove pleonasm
Change-Id: I95a4089fe042b8e5c9bdede870489613e86f52fc Reviewed-by: hjk <hjk@qt.io>
-rw-r--r--src/plugins/debugger/breakhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp
index 307c8e6443..9f6b59b5ee 100644
--- a/src/plugins/debugger/breakhandler.cpp
+++ b/src/plugins/debugger/breakhandler.cpp
@@ -972,7 +972,7 @@ Breakpoint BreakHandler::findBreakpointByFunction(const QString &functionName) c
Breakpoint BreakHandler::findBreakpointByAddress(quint64 address) const
{
return Breakpoint(findItemAtLevel<1>([address](BreakpointItem *b) {
- return b->m_params.address == address || b->m_params.address == address;
+ return b->m_params.address == address;
}));
}