diff options
author | Justin DeMartino <jjdemartino@google.com> | 2020-09-21 13:24:08 -0700 |
---|---|---|
committer | Justin DeMartino <jjdemartino@google.com> | 2020-09-21 13:24:08 -0700 |
commit | 338e91517f011da3056cdab4fe75198281cbc997 (patch) | |
tree | daadd64a0a84b5836dda7d2ce15737d4d59abdae /libutils/Unicode.cpp | |
parent | 9a1114d8a44e4d93a719095ad81c119273d43ee4 (diff) | |
parent | 79c5fee02e1430bec2f75956297f5b631e70b407 (diff) |
Merge SP1A.200921.001
Change-Id: I90b97c4e9fb10b1f45e74def404823eed5b1aaa8
Diffstat (limited to 'libutils/Unicode.cpp')
-rw-r--r-- | libutils/Unicode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libutils/Unicode.cpp b/libutils/Unicode.cpp index b08e061c0..b6e457b04 100644 --- a/libutils/Unicode.cpp +++ b/libutils/Unicode.cpp @@ -162,9 +162,9 @@ int32_t utf32_from_utf8_at(const char *src, size_t src_len, size_t index, size_t if (index >= src_len) { return -1; } - size_t dummy_index; + size_t unused_index; if (next_index == nullptr) { - next_index = &dummy_index; + next_index = &unused_index; } size_t num_read; int32_t ret = utf32_at_internal(src + index, &num_read); |