diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-07-14 13:01:48 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-07-14 13:01:48 -0400 |
commit | 5460f14857828c8fe27494652505474e99e83508 (patch) | |
tree | 43248aecfcd5ef685955bacf235f5d64478fa11b /strciphr.cpp | |
parent | 7cc6531dd2dc49c88935d9628882c21d0e7d937a (diff) | |
download | cryptopp-git-5460f14857828c8fe27494652505474e99e83508.tar.gz |
Clear unused variable warning
Diffstat (limited to 'strciphr.cpp')
-rw-r--r-- | strciphr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strciphr.cpp b/strciphr.cpp index 6498c9ce..7d33af15 100644 --- a/strciphr.cpp +++ b/strciphr.cpp @@ -180,7 +180,6 @@ void CFB_CipherTemplate<BASE>::ProcessData(byte *outString, const byte *inString PolicyInterface &policy = this->AccessPolicy();
unsigned int bytesPerIteration = policy.GetBytesPerIteration();
- unsigned int alignment = policy.GetAlignment();
byte *reg = policy.GetRegisterBegin();
if (m_leftOver)
@@ -205,6 +204,7 @@ void CFB_CipherTemplate<BASE>::ProcessData(byte *outString, const byte *inString // Also see https://github.com/weidai11/cryptopp/issues/683.
//
#if !defined(__arm__)
+ unsigned int alignment = policy.GetAlignment();
if (policy.CanIterate() && length >= bytesPerIteration && IsAlignedOn(outString, alignment))
{
const CipherDir cipherDir = GetCipherDir(*this);
|