diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-02-10 13:26:07 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-02-10 14:06:57 +0100 |
commit | a3a783f9ebf1990b05e0ad60c723e6f7c2902d0a (patch) | |
tree | e8837eac6482719791820a641f5769687e4f0206 | |
parent | a4aab4814d7924531d46579b82ccd494f3318756 (diff) |
coverity#1267637: logically dead code in SwUndo::Repeat()
Change-Id: I85b0d880b0579f33a6e874ca250d343f7761dbcc
-rw-r--r-- | sw/source/core/undo/undobj.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/source/core/undo/undobj.cxx b/sw/source/core/undo/undobj.cxx index 855795d86211..d2724dd9e734 100644 --- a/sw/source/core/undo/undobj.cxx +++ b/sw/source/core/undo/undobj.cxx @@ -230,7 +230,6 @@ void SwUndo::Repeat(SfxRepeatTarget & rContext) ::sw::RepeatContext *const pRepeatContext( dynamic_cast< ::sw::RepeatContext * >(& rContext)); assert(pRepeatContext); - if (!pRepeatContext) { return; } RepeatImpl(*pRepeatContext); } |