aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthew Maurer <mmaurer@google.com>2020-07-27 15:02:37 -0700
committerMatthew Maurer <mmaurer@google.com>2020-07-27 15:02:37 -0700
commitc69a4b8ebb0ccb683160421df252a5a499619ffe (patch)
tree22c2a02978ba371a6b9e0db8fc1c2e4a9e94bb13 /lib
parent623add06d0d722eb4712c61d46a058dc1165a597 (diff)
downloadcommon-c69a4b8ebb0ccb683160421df252a5a499619ffe.tar.gz
Update language to comply with Android’s inclusive language guidance
Remove usage of term "dummy". See https://source.android.com/setup/contribute/respectful-code for reference. Bug: 161896447 Change-Id: Ib5c811fa74f4847399cdef755809bfedd5046833
Diffstat (limited to 'lib')
-rw-r--r--lib/heap/cmpctmalloc/cmpctmalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/heap/cmpctmalloc/cmpctmalloc.c b/lib/heap/cmpctmalloc/cmpctmalloc.c
index 8fda05a5..0d349130 100644
--- a/lib/heap/cmpctmalloc/cmpctmalloc.c
+++ b/lib/heap/cmpctmalloc/cmpctmalloc.c
@@ -194,8 +194,8 @@ static int size_to_index_allocating(size_t size, size_t *rounded_up_out)
// Round down size to next bucket when freeing.
static int size_to_index_freeing(size_t size)
{
- size_t dummy;
- return size_to_index_helper(size, &dummy, 0, 0);
+ size_t unused;
+ return size_to_index_helper(size, &unused, 0, 0);
}
inline header_t *tag_as_free(void *left)