summaryrefslogtreecommitdiff
path: root/connectivity/source
diff options
context:
space:
mode:
authorBogdan Buzea <buzea.bogdan@libreoffice.org>2024-10-18 06:21:49 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-10-18 09:23:04 +0200
commita7571ddd146bba9b25708da288f898e5cd221f8d (patch)
tree6643744cf21736c9465a65542c150683f9e18d00 /connectivity/source
parentc0a9c3f97d7da054f40572667847274b725372d8 (diff)
tdf#163486: PVS: Identical branches
Change-Id: I392760b8605588576049e5afda2da64faea3fd00 V1037: Two or more case-branches perform the same actions. Check lines: 486, 489 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175049 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins
Diffstat (limited to 'connectivity/source')
-rw-r--r--connectivity/source/drivers/firebird/Connection.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/connectivity/source/drivers/firebird/Connection.cxx b/connectivity/source/drivers/firebird/Connection.cxx
index 9268291f384e..202c56d7316a 100644
--- a/connectivity/source/drivers/firebird/Connection.cxx
+++ b/connectivity/source/drivers/firebird/Connection.cxx
@@ -483,8 +483,6 @@ void Connection::setupTransaction()
aTransactionIsolation = isc_tpb_read_committed;
break;
case TransactionIsolation::REPEATABLE_READ:
- aTransactionIsolation = isc_tpb_consistency;
- break;
case TransactionIsolation::SERIALIZABLE:
aTransactionIsolation = isc_tpb_consistency;
break;