From afc0b792b35f40dc1210eb63649c9b88b4496869 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 7 Oct 2015 16:18:36 +0200 Subject: clang-analyzer-deadcode.DeadStores Change-Id: I0c0475ea6a38ecfd72772d287b8217a0754238d6 --- svl/source/passwordcontainer/passwordcontainer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svl') diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx index a6e8a83f69cd..8aa6c2a2d91b 100644 --- a/svl/source/passwordcontainer/passwordcontainer.cxx +++ b/svl/source/passwordcontainer/passwordcontainer.cxx @@ -465,7 +465,7 @@ vector< OUString > PasswordContainer::DecodePasswords( const OUString& aLine, co ::rtl::ByteSequence resSeq( aSeq.getLength() ); - result = rtl_cipher_decode ( aDecoder, aSeq.getArray(), aSeq.getLength(), + rtl_cipher_decode ( aDecoder, aSeq.getArray(), aSeq.getLength(), reinterpret_cast(resSeq.getArray()), resSeq.getLength() ); OUString aPasswd( reinterpret_cast(resSeq.getArray()), resSeq.getLength(), RTL_TEXTENCODING_UTF8 ); -- cgit