From e5deb4a931ec7574d82ac77bd747e68aacbbfa1e Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Fri, 16 Aug 2024 03:25:36 +0300 Subject: [PATCH] sm7325-common: gps: Resolve unused parameter warnings Change-Id: I3f92e977a847583f35a5a597487c52b5e0e09dde --- gps/core/SystemStatus.h | 2 +- gps/core/data-items/DataItemConcreteTypes.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gps/core/SystemStatus.h b/gps/core/SystemStatus.h index 5f80b61..587a104 100644 --- a/gps/core/SystemStatus.h +++ b/gps/core/SystemStatus.h @@ -125,7 +125,7 @@ public: } virtual void dump(void) {}; inline virtual bool ignore() { return false; }; - virtual bool equals(const SystemStatusItemBase& peer) { return false; } + virtual bool equals(const SystemStatusItemBase& peer __unused) { return false; } }; class SystemStatusLocation : public SystemStatusItemBase diff --git a/gps/core/data-items/DataItemConcreteTypes.h b/gps/core/data-items/DataItemConcreteTypes.h index e75476e..17254e2 100644 --- a/gps/core/data-items/DataItemConcreteTypes.h +++ b/gps/core/data-items/DataItemConcreteTypes.h @@ -310,7 +310,7 @@ public: bool available = false, bool connected = false, bool roaming = false, - uint64_t networkHandle = NETWORK_HANDLE_UNKNOWN, string apn = ""): + uint64_t networkHandle = NETWORK_HANDLE_UNKNOWN, string apn __unused = ""): NetworkInfoDataItem(getNormalizedType(type), type, typeName, subTypeName, available, connected, roaming, networkHandle, "") {} NetworkInfoDataItem(NetworkType initialType, int32_t type, string typeName,