Clear coverity finding CONSTANT_EXPRESSION_RESULT (CID 179384)

pull/242/merge
Jeffrey Walton 2017-05-20 01:27:23 -04:00
parent 4fef9b8837
commit e0d856d0ca
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ NAMESPACE_BEGIN(CryptoPP)
// Checks whether the character is valid for ISO/IEC 8859-1 as required by RFC 1952 // Checks whether the character is valid for ISO/IEC 8859-1 as required by RFC 1952
static inline bool Is8859Character(char c) { static inline bool Is8859Character(char c) {
const unsigned char cc = static_cast<unsigned char>(c); const unsigned char cc = static_cast<unsigned char>(c);
return (cc >= 32 && cc <= 126) || (cc >= 160 && cc <= 255); return (cc >= 32 && cc <= 126) || (cc >= 160);
} }
void Gzip::IsolatedInitialize(const NameValuePairs &parameters) void Gzip::IsolatedInitialize(const NameValuePairs &parameters)