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,