dbaccess/source/ui/querydesign/querycontroller.cxx | 2 -- 1 file changed, 2 deletions(-)
New commits: commit 6884f6cd61b5a047375cf09c338c4055c919794b Author: Bogdan Buzea <buzea.bog...@libreoffice.org> AuthorDate: Mon Oct 21 16:42:11 2024 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Tue Oct 22 12:09:01 2024 +0200 tdf#163486: PVS: Identical branches V1037 Two or more case-branches perform the same actions. Check lines: 692, 695 Change-Id: I7a7b321b10437897b285c31403aee908da8cd929 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175343 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx index b13986769bb4..5134161cce5a 100644 --- a/dbaccess/source/ui/querydesign/querycontroller.cxx +++ b/dbaccess/source/ui/querydesign/querycontroller.cxx @@ -689,8 +689,6 @@ void OQueryController::impl_initialize(const ::comphelper::NamedValueCollection& switch ( m_nCommandType ) { case CommandType::QUERY: - m_sName = sCommand; - break; case CommandType::TABLE: m_sName = sCommand; break;