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

Commit de4d37fe authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "tv.cec: Handle an unused argument warning"

parents 0622f0da c6fe6cf3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ struct HdmiCec : public IHdmiCec {
    Return<void> enableAudioReturnChannel(int32_t portId, bool enable)  override;
    Return<bool> isConnected(int32_t portId)  override;

    static void eventCallback(const hdmi_event_t* event, void* arg) {
    static void eventCallback(const hdmi_event_t* event, void* /* arg */) {
        if (mCallback != nullptr && event != nullptr) {
            if (event->type == HDMI_EVENT_CEC_MESSAGE) {
                size_t length = std::min(event->cec.length,