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

Commit beec627b authored by Nikita Ioffe's avatar Nikita Ioffe
Browse files

Suppress warn_unused_result warning in otapreopt_chroot

For more context see another CL in this topic.

Test: m checkbuild
Bug: 135682248
Change-Id: Ib58df83a98750dde0290630aeb49bf858abb604d
parent 8475fc34
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -64,7 +64,8 @@ static std::vector<apex::ApexFile> ActivateApexPackages() {
    // system/apex/apexd/apexd_main.cpp.
    //
    // Only scan the APEX directory under /system (within the chroot dir).
    apex::scanPackagesDirAndActivate(apex::kApexPackageSystemDir);
    // Cast call to void to suppress warn_unused_result.
    static_cast<void>(apex::scanPackagesDirAndActivate(apex::kApexPackageSystemDir));
    return apex::getActivePackages();
}