FP4: gps: Resolve unused parameter warnings
Change-Id: I0acef3da2c3567a28edd0a71dac89a5828f7725d
diff --git a/gps/utils/LocIpc.h b/gps/utils/LocIpc.h
index b2586e6..40ed5a3 100644
--- a/gps/utils/LocIpc.h
+++ b/gps/utils/LocIpc.h
@@ -82,7 +82,7 @@
}
virtual void onServiceStatusChange(int sericeId, int instanceId, ServiceStatus status,
const LocIpcSender& sender) = 0;
- inline virtual void onClientGone(int nodeId, int portId) {}
+ inline virtual void onClientGone(int nodeId __unused, int portId __unused) {}
inline const unordered_set<int>& getServicesToWatch() { return mServicesToWatch; }
};
@@ -166,10 +166,10 @@
inline bool sendData(const uint8_t data[], uint32_t length, int32_t msgId) const {
return isSendable() && (send(data, length, msgId) > 0);
}
- virtual unique_ptr<LocIpcRecver> getRecver(const shared_ptr<ILocIpcListener>& listener) {
+ virtual unique_ptr<LocIpcRecver> getRecver(const shared_ptr<ILocIpcListener>& listener __unused) {
return nullptr;
}
- inline virtual void copyDestAddrFrom(const LocIpcSender& otherSender) {}
+ inline virtual void copyDestAddrFrom(const LocIpcSender& otherSender __unused) {}
};
class LocIpcRecver {