Update for clang-tidy 12 (#1644)

This commit is contained in:
Andrew Gaul
2021-05-03 09:43:18 +09:00
committed by GitHub
parent c4fa53ec8b
commit cb9148f6cd
4 changed files with 13 additions and 7 deletions

View File

@ -471,7 +471,7 @@ unsigned char* s3fs_decode64(const char* input, size_t* plength)
// Base location for transform. The range 0xE000 - 0xF8ff
// is a private range, se use the start of this range.
static unsigned int escape_base = 0xe000;
static const unsigned int escape_base = 0xe000;
// encode bytes into wobbly utf8.
// 'result' can be null. returns true if transform was needed.