Codacy/Cppcheck cleanups.

This commit is contained in:
Wilson Snyder
2019-10-24 22:40:15 -04:00
parent 0cbfd29ac5
commit 352adbed74
6 changed files with 9 additions and 7 deletions
+2
View File
@@ -418,7 +418,9 @@ static FASTLZ_INLINE int FASTLZ_DECOMPRESSOR(const void* input, int length, void
const flzuint8* ip = (const flzuint8*) input;
const flzuint8* ip_limit = ip + length;
flzuint8* op = (flzuint8*) output;
#ifdef FASTLZ_SAFE
flzuint8* op_limit = op + maxout;
#endif
flzuint32 ctrl = (*ip++) & 31;
int loop = 1;