summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-07 15:16:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-07 15:43:46 +0200
commit4c18bec7ed39675b9747eae51c1bcb3b26f12992 (patch)
tree822e26aa79bfcd9fcb76cb8a72e231ab17426fba /xmlsecurity
parent1edb2a1040a7f71e8ac5e4e8e8df176b18b37d07 (diff)
clang-analyzer-deadcode.DeadStores
Change-Id: Id5df4d888d0129c1084642ee65e8bba9f5f8ca74
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/xmlsec/nss/ciphercontext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/ciphercontext.cxx b/xmlsecurity/source/xmlsec/nss/ciphercontext.cxx
index a261627ab080..807fe786a12a 100644
--- a/xmlsecurity/source/xmlsec/nss/ciphercontext.cxx
+++ b/xmlsecurity/source/xmlsec/nss/ciphercontext.cxx
@@ -108,7 +108,7 @@ uno::Sequence< ::sal_Int8 > SAL_CALL OCipherContext::convertWithCipherContext( c
OSL_ENSURE( nOldLastBlockLen <= m_nBlockSize, "Unexpected last block size!" );
sal_Int32 nAvailableData = nOldLastBlockLen + aData.getLength();
- sal_Int32 nToConvertLen = nAvailableData;
+ sal_Int32 nToConvertLen;
if ( m_bEncryption || !m_bW3CPadding )
{
if ( nAvailableData % m_nBlockSize == 0 )