diff options
author | crupest <crupest@outlook.com> | 2022-01-12 02:30:25 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-12 02:30:25 +0800 |
commit | 882d843083895f4905571dc273e801ee18fd5984 (patch) | |
tree | 163890b8ccb64b8eff28af558ac803affe392488 /src/common/StringUtil.cpp | |
parent | 01f98ce88950cdb729f5db58bf26f2fffa1c326c (diff) | |
download | cru-882d843083895f4905571dc273e801ee18fd5984.tar.gz cru-882d843083895f4905571dc273e801ee18fd5984.tar.bz2 cru-882d843083895f4905571dc273e801ee18fd5984.zip |
...
Diffstat (limited to 'src/common/StringUtil.cpp')
-rw-r--r-- | src/common/StringUtil.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/StringUtil.cpp b/src/common/StringUtil.cpp index 440db8c4..6e478033 100644 --- a/src/common/StringUtil.cpp +++ b/src/common/StringUtil.cpp @@ -113,6 +113,8 @@ CodePoint Utf16NextCodePoint(const char16_t* ptr, Index size, Index current, CodePoint Utf16PreviousCodePoint(const char16_t* ptr, Index size, Index current, Index* previous_position) { + CRU_UNUSED(size) + CodePoint result; if (current <= 0) { result = k_invalid_code_point; |