summaryrefslogtreecommitdiff
path: root/libutils/FileMap_test.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-04-24 00:01:02 +0000
committerMaciej Zenczykowski <maze@google.com>2020-04-24 00:24:38 +0000
commitffaa7d6751f49bc6618fa49f028edf5d87c52e37 (patch)
tree2dd3fa1b76fd87507f5eb3c885e57894b108d6f1 /libutils/FileMap_test.cpp
parent6d99e68e74e3909d94ac8c1a578257dff06e76e5 (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 Merged-In: Ie67a8bb1bf622319adea15466c42077e0e9b1a18
Diffstat (limited to 'libutils/FileMap_test.cpp')
0 files changed, 0 insertions, 0 deletions