From 801280697cac41f41018da378b6d79bc8ff4e6dc Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Fri, 25 Oct 2024 23:02:43 +0200 Subject: [PATCH] editeng: unnedded assigment After commit f04ab0ea41db4e91c3dd898a560426867a466988 Author: Xisco Fauli Date: Wed Oct 23 16:13:04 2024 +0200 tdf#163486: PVS: Expression is always true Change-Id: I33a3cbdc2c7013d5d739c55d3b129f05a329197f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175669 Tested-by: Jenkins Reviewed-by: Xisco Fauli --- editeng/source/editeng/impedit5.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editeng/source/editeng/impedit5.cxx b/editeng/source/editeng/impedit5.cxx index 21ec91827aa0..6dd01d1d349e 100644 --- a/editeng/source/editeng/impedit5.cxx +++ b/editeng/source/editeng/impedit5.cxx @@ -937,7 +937,7 @@ bool ImpEditEngine::PostKeyEvent( const KeyEvent& rKeyEvent, EditView* pEditView } default: // is then possible edited below. - eFunc = KeyFuncType::DONTKNOW; + break; } }