connectivity/source/drivers/firebird/Util.cxx | 2 -- 1 file changed, 2 deletions(-)
New commits: commit f6033dca9dc5e2640e796c2ba8853a8e157e338c Author: Bogdan Buzea <buzea.bog...@libreoffice.org> AuthorDate: Fri Oct 18 06:12:31 2024 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Fri Oct 18 09:28:03 2024 +0200 tdf#163486: PVS: Identical branches Change-Id: Id493bc317eb9cf358c79454b7778895b78b7c8aa V1037: Two or more case-branches perform the same actions. Check lines: 320, 323 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175048 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/connectivity/source/drivers/firebird/Util.cxx b/connectivity/source/drivers/firebird/Util.cxx index 6d0153fdfe0b..8f11068e80f0 100644 --- a/connectivity/source/drivers/firebird/Util.cxx +++ b/connectivity/source/drivers/firebird/Util.cxx @@ -317,8 +317,6 @@ void firebird::mallocSQLVAR(XSQLDA* pSqlda) pVar->sqldata = static_cast<char *>(malloc(sizeof(float))); break; case SQL_DOUBLE: - pVar->sqldata = static_cast<char *>(malloc(sizeof(double))); - break; case SQL_D_FLOAT: pVar->sqldata = static_cast<char *>(malloc(sizeof(double))); break;