Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 625e98db authored by Pirama Arumuga Nainar's avatar Pirama Arumuga Nainar
Browse files

Revert "Suppress a static-analyzer warning"

Bug: http://b/120788908

This reverts commit f82a6c36.

Reason for revert: The analyzer no longer issues the false-positive warning.

Change-Id: Ie8d8336285115e3e7c287b2d1831fe9884afaa93
parent f82a6c36
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -365,8 +365,6 @@ bool AString::endsWithIgnoreCase(const char *suffix) const {
// static
AString AString::FromParcel(const Parcel &parcel) {
    size_t size = static_cast<size_t>(parcel.readInt32());
    // The static analyzer incorrectly reports a false-positive here in c++17.
    // https://bugs.llvm.org/show_bug.cgi?id=38176 . NOLINTNEXTLINE
    return AString(static_cast<const char *>(parcel.readInplace(size)), size);
}