commit | 9a81a6a8f856c635e4967dbb58d5c81080a900b1 | [log] [tgz] |
---|---|---|
author | Inseob Kim <inseob@google.com> | Fri May 15 14:01:14 2020 +0900 |
committer | Inseob Kim <inseob@google.com> | Fri May 15 14:01:14 2020 +0900 |
tree | edb9cf56b01147e601990c2df81163967ea1bc21 | |
parent | db8187c812d3549a48f1a476b01af02b7c7762b1 [diff] |
Fix potential compile error "unused function" __system_property_set is defined as a wrapper to android::base::SetProperty if bionic is unavailable. That can cause compiler error "unused function" if no setters exist. Fixing it with adding [[maybe_unused]] Bug: 156698358 Test: sysprop_test Test: define a sysprop_library and link against it from cc_test_host Change-Id: I1a2420793cc7b31d80031517113ca59a109d4a1c