summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-07-29 20:32:34 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-07-29 20:32:34 +0000
commit98ea1340fb32722d41e577926a96d0aa01e7fa52 (patch)
treed13c92faede97eb5b3a36fdd68e8ca8763fafdb4 /libutils/Unicode.cpp
parent5a8d11af580aae68734bc03cdcf543a06dfffd93 (diff)
parentac4500e67de510a3724b98f248e5cb8f3cc1eb26 (diff)
Merge "Update language to comply with Android's inclusive language guidance"
Diffstat (limited to 'libutils/Unicode.cpp')
-rw-r--r--libutils/Unicode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libutils/Unicode.cpp b/libutils/Unicode.cpp
index b08e061c0f..b6e457b04c 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);