aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerplugin.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <[email protected]>2014-09-11 10:53:47 +0200
committerhjk <[email protected]>2014-09-11 13:00:56 +0200
commitc3c43d087e9d7bde54d8377f8b3653bb03547cd4 (patch)
treeaf01dc3593df733013ae3e5e58f673d418fd664a /src/plugins/debugger/debuggerplugin.cpp
parent000fbf24da833e9451131260aff5f3f893868600 (diff)
Debugger: remove dead stores.
The dead stores are not harmfull, but add noise when checking for dead stores that are due to logic errors. Change-Id: I8bf61c51207f0339911bc07fcfbc06f8066521e5 Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r--src/plugins/debugger/debuggerplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 12a6c31b609..222cf050183 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -2846,7 +2846,7 @@ void DebuggerPluginPrivate::extensionsInitialized()
act = m_jumpToLineAction = new QAction(tr("Jump to Line"), this);
connect(act, SIGNAL(triggered()), SLOT(handleExecJumpToLine()));
- act = m_breakAction = new QAction(tr("Toggle Breakpoint"), this);
+ m_breakAction = new QAction(tr("Toggle Breakpoint"), this);
act = m_watchAction1 = new QAction(tr("Add Expression Evaluator"), this);
connect(act, SIGNAL(triggered()), SLOT(handleAddToWatchWindow()));
@@ -3136,7 +3136,7 @@ void DebuggerPluginPrivate::extensionsInitialized()
cmd = ActionManager::registerAction(m_frameDownAction,
"Debugger.FrameDown", cppDebuggercontext);
- cmd = ActionManager::registerAction(m_frameUpAction,
+ ActionManager::registerAction(m_frameUpAction,
"Debugger.FrameUp", cppDebuggercontext);
cmd = ActionManager::registerAction(action(OperateByInstruction),