tdf#163486: PVS: Identical branches
V1037 Two or more case-branches perform the same actions. Check lines: 717, 733 Change-Id: I57fc125abb8c9a4c9dea197945f45b95b90e41b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175320 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins
This commit is contained in:
committed by
Xisco Fauli
parent
eff1137fd2
commit
35e2aa6204
@@ -713,6 +713,8 @@ OUString Desktop::CreateErrorMsgString(
|
||||
|
||||
/// the bootstrap INI file could not be found or read
|
||||
case ::utl::Bootstrap::MISSING_BOOTSTRAP_FILE:
|
||||
/// the version locator INI file could not be found or read
|
||||
case ::utl::Bootstrap::MISSING_VERSION_FILE:
|
||||
{
|
||||
aMsg = DpResId(STR_BOOTSTRAP_ERR_FILE_MISSING);
|
||||
}
|
||||
@@ -727,13 +729,6 @@ OUString Desktop::CreateErrorMsgString(
|
||||
}
|
||||
break;
|
||||
|
||||
/// the version locator INI file could not be found or read
|
||||
case ::utl::Bootstrap::MISSING_VERSION_FILE:
|
||||
{
|
||||
aMsg = DpResId(STR_BOOTSTRAP_ERR_FILE_MISSING);
|
||||
}
|
||||
break;
|
||||
|
||||
/// the version locator INI has no entry for this version
|
||||
case ::utl::Bootstrap::MISSING_VERSION_FILE_ENTRY:
|
||||
{
|
||||
|
Reference in New Issue
Block a user