From ac4500e67de510a3724b98f248e5cb8f3cc1eb26 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Mon, 27 Jul 2020 14:03:56 -0700 Subject: 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 --- libutils/Unicode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libutils/Unicode.cpp') 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); -- cgit v1.2.3