oox/source/crypto/CryptTools.cxx | 3 --- 1 file changed, 3 deletions(-)
New commits: commit d3dd616f563e2cb32fa1e9ba983509096548e95f Author: Bogdan Buzea <buzea.bog...@libreoffice.org> AuthorDate: Tue Oct 22 19:55:29 2024 +0200 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Wed Oct 23 11:50:06 2024 +0200 tdf#163486: PVS: Identical branches V1037 Two or more case-branches perform the same actions. Check lines: 289, 293 Change-Id: I9828b4d5b7faca449c5377a0bd8223cddf883a43 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175423 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/oox/source/crypto/CryptTools.cxx b/oox/source/crypto/CryptTools.cxx index e8e842abeb43..a7d76b375c39 100644 --- a/oox/source/crypto/CryptTools.cxx +++ b/oox/source/crypto/CryptTools.cxx @@ -286,9 +286,6 @@ struct CryptoImpl mechanism = CKM_AES_ECB; break; case Crypto::CryptoType::AES_128_CBC: - mechanism = CKM_AES_CBC; - pIvItem = &ivItem; - break; case Crypto::CryptoType::AES_256_CBC: mechanism = CKM_AES_CBC; pIvItem = &ivItem;