diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-11-21 12:56:13 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-11-21 15:45:04 +0100 |
commit | 949f3099f05d642ca4ee4b6ad676152bbea04824 (patch) | |
tree | df78f35f8c4d9e3e1a9b6abdd884954a0ebbcdb0 | |
parent | b5248ce4c5b5b8ec87dd604f616dc889bdb3a79b (diff) |
dead init (clang)
Change-Id: I7ad48c2a7bd1a63ebb9bda41fb5c28b19e7e6eab
-rw-r--r-- | sw/source/uibase/wrtsh/move.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/wrtsh/move.cxx b/sw/source/uibase/wrtsh/move.cxx index 64a390e056a5..7916c271e039 100644 --- a/sw/source/uibase/wrtsh/move.cxx +++ b/sw/source/uibase/wrtsh/move.cxx @@ -520,10 +520,9 @@ bool SwWrtShell::PopCrsr(bool bUpdate, bool bSelect) void SwWrtShell::_ResetCursorStack() { - CrsrStack *pTmp = pCrsrStack; while(pCrsrStack) { - pTmp = pCrsrStack->pNext; + CrsrStack* const pTmp = pCrsrStack->pNext; delete pCrsrStack; pCrsrStack = pTmp; } |