diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-05-20 01:27:23 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-05-20 01:27:23 -0400 |
commit | e0d856d0ca08a70c7a33cae99b2bf3dc756bac95 (patch) | |
tree | 8f239711c32b0b465749fe9b9e706b7dbe8fd01b /gzip.cpp | |
parent | 4fef9b88371acde819cd431f4e099e7e511606e4 (diff) | |
download | cryptopp-git-e0d856d0ca08a70c7a33cae99b2bf3dc756bac95.tar.gz |
Clear coverity finding CONSTANT_EXPRESSION_RESULT (CID 179384)
Diffstat (limited to 'gzip.cpp')
-rw-r--r-- | gzip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9,7 +9,7 @@ NAMESPACE_BEGIN(CryptoPP) // Checks whether the character is valid for ISO/IEC 8859-1 as required by RFC 1952
static inline bool Is8859Character(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 ¶meters)
|