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

Commit c91ecdaa authored by Aurimas Liutikas's avatar Aurimas Liutikas Committed by Android (Google) Code Review
Browse files

Merge "Fix unused parameter warning and enable -Werror."

parents d09c8b02 1b3db1fb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -28,6 +28,8 @@ LOCAL_SHARED_LIBRARIES := \
    android.hardware.gnss@1.0 \
    libhardware

LOCAL_CFLAGS += -Werror

include $(BUILD_SHARED_LIBRARY)

include $(CLEAR_VARS)
+1 −1
Original line number Diff line number Diff line
@@ -115,7 +115,7 @@ void GnssBatching::releaseWakelockCb() {
}

// this can just return success, because threads are now set up on demand in the jni layer
int32_t GnssBatching::setThreadEventCb(ThreadEvent event) {
int32_t GnssBatching::setThreadEventCb(ThreadEvent /*event*/) {
    return FLP_RESULT_SUCCESS;
}