summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2020-04-23 09:12:49 -0700
committerMaciej Żenczykowski <maze@google.com>2020-04-23 13:44:33 -0700
commit4fc9b9932980dd842e23c9889c376251ed5564e9 (patch)
tree6eccc6a183a85c8d8aa7b43ea068ebf6f2fc109d /trusty/coverage/coverage_test.cpp
parentffadbc8bacd0ea8b212cbf3a53761415f04db59f (diff)
expected.h - fix bugprone-branch-clone warning
Fixes: system/core/base/include/android-base/expected.h:606:39: warning: repeated branch in conditional chain [bugprone-branch-clone] if (x.has_value() != y.has_value()) { ^ system/core/base/include/android-base/expected.h:608:4: note: end of the original } else if (!x.has_value()) { ^ system/core/base/include/android-base/expected.h:610:10: note: clone 1 starts here } else { ^ Test: builds Bug: 153035880 Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: Ie67a8bb1bf622319adea15466c42077e0e9b1a18
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions