diff --git a/gps/core/SystemStatus.h b/gps/core/SystemStatus.h index d4a0c8a..01aea0a 100644 --- a/gps/core/SystemStatus.h +++ b/gps/core/SystemStatus.h @@ -88,7 +88,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 0f295b4..541e199 100644 --- a/gps/core/data-items/DataItemConcreteTypes.h +++ b/gps/core/data-items/DataItemConcreteTypes.h @@ -271,7 +271,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,