tdf#163486: PVS: Identical branches

V1037 Two or more case-branches perform the same actions. Check lines: 780, 786

Change-Id: I9152c711ab25f0e4cc60ce67c2ad1089cca6992e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175306
Tested-by: Jenkins
Reviewed-by: David Gilbert <freedesktop@treblig.org>
This commit is contained in:
Bogdan Buzea
2024-11-01 01:56:43 +01:00
committed by David Gilbert
parent c818bbfb2c
commit 34e27e2cb8
@@ -776,11 +776,6 @@ static bool UCBOpenContentSync(
break;
}
case Moderator::ResultType::COMMANDABORTED:
{
bAborted = true;
xLockBytes->SetError( ERRCODE_ABORT );
break;
}
case Moderator::ResultType::COMMANDFAILED:
{
bAborted = true;