Clear unused variable warning

pull/687/head
Jeffrey Walton 2018-07-14 13:01:48 -04:00
parent 7cc6531dd2
commit 5460f14857
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 1 additions and 1 deletions

View File

@ -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);