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

Commit 5631258f authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Use -Werror in hardware/interfaces/biometrics/fingerprint

* Fix warning of unused function call result.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I91da207b80d0715d015195357d645f8cf324fa1e
parent 8500c095
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
cc_binary {
    name: "android.hardware.biometrics.fingerprint@2.1-service",
    defaults: ["hidl_defaults"],
    init_rc: ["android.hardware.biometrics.fingerprint@2.1-service.rc"],
    vendor: true,
    relative_install_path: "hw",
+3 −1
Original line number Diff line number Diff line
@@ -35,7 +35,9 @@ int main() {
    configureRpcThreadpool(1, true /*callerWillJoin*/);

    if (bio != nullptr) {
        bio->registerAsService();
        if (::android::OK != bio->registerAsService()) {
            return 1;
        }
    } else {
        ALOGE("Can't create instance of BiometricsFingerprint, nullptr");
    }