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

Commit dd2f6940 authored by Nikita Ioffe's avatar Nikita Ioffe Committed by Gerrit Code Review
Browse files

Merge "Suppress warn_unused_result warning in otapreopt_chroot"

parents 8475fc34 beec627b
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();
}