Clear unused variable warning
parent
7cc6531dd2
commit
5460f14857
|
|
@ -180,7 +180,6 @@ void CFB_CipherTemplate<BASE>::ProcessData(byte *outString, const byte *inString
|
||||||
|
|
||||||
PolicyInterface &policy = this->AccessPolicy();
|
PolicyInterface &policy = this->AccessPolicy();
|
||||||
unsigned int bytesPerIteration = policy.GetBytesPerIteration();
|
unsigned int bytesPerIteration = policy.GetBytesPerIteration();
|
||||||
unsigned int alignment = policy.GetAlignment();
|
|
||||||
byte *reg = policy.GetRegisterBegin();
|
byte *reg = policy.GetRegisterBegin();
|
||||||
|
|
||||||
if (m_leftOver)
|
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.
|
// Also see https://github.com/weidai11/cryptopp/issues/683.
|
||||||
//
|
//
|
||||||
#if !defined(__arm__)
|
#if !defined(__arm__)
|
||||||
|
unsigned int alignment = policy.GetAlignment();
|
||||||
if (policy.CanIterate() && length >= bytesPerIteration && IsAlignedOn(outString, alignment))
|
if (policy.CanIterate() && length >= bytesPerIteration && IsAlignedOn(outString, alignment))
|
||||||
{
|
{
|
||||||
const CipherDir cipherDir = GetCipherDir(*this);
|
const CipherDir cipherDir = GetCipherDir(*this);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue