commit | ac4500e67de510a3724b98f248e5cb8f3cc1eb26 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Mon Jul 27 14:03:56 2020 -0700 |
committer | Dan Albert <danalbert@google.com> | Tue Jul 28 15:58:25 2020 -0700 |
tree | 38d3d667077668818f5888ec86a41e0aa16950bf | |
parent | b0a9d0e703621152e6e82262b04b54ac54b3a315 [diff] [blame] |
Update language to comply with Android's inclusive language guidance See https://source.android.com/setup/contribute/respectful-code for reference Bug: http://b/161896447 Test: None Change-Id: I9e5a37a20012b2f7a8eac55701df03f7b7a9ab6c
diff --git a/libutils/Unicode.cpp b/libutils/Unicode.cpp index b08e061..b6e457b 100644 --- a/libutils/Unicode.cpp +++ b/libutils/Unicode.cpp
@@ -162,9 +162,9 @@ 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);