summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@google.com>2021-08-12 10:56:44 -0700
committerBart Van Assche <bvanassche@google.com>2021-08-16 11:04:35 -0700
commit96b21cc589349d346e4c587d92867ddee66f45dd (patch)
tree01ebb6c779cf4ebea29d404aa8b5ad624a40deb5 /trusty/coverage/coverage.cpp
parentc554240e647c14a5067537fcf8ef88e92b431e12 (diff)
libdm: Make ExtractBlockDeviceName() return its result
From https://engdoc.corp.google.com/eng/doc/devguide/cpp/styleguide.md: "Prefer using return values over output parameters: they improve readability, and often provide the same or better performance (see the C++ Primer)." Implement this advice for ExtractBlockDeviceName(). This patch does not change any functionality. Bug: 194450129 Test: mm libfs_mgr libdm_test Merged-In: I6363781163eba08e6128507b403200f472f68a59 Change-Id: I7d340b33281ebccded0836cd0b5a293e941f4043 Ignore-AOSP-First: Already in AOSP. Signed-off-by: Bart Van Assche <bvanassche@google.com>
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions