FP5: gps: Resolve unused parameter warnings
Change-Id: I3f92e977a847583f35a5a597487c52b5e0e09dde
diff --git a/gps/core/SystemStatus.h b/gps/core/SystemStatus.h
index 6e14156..158bd99 100644
--- a/gps/core/SystemStatus.h
+++ b/gps/core/SystemStatus.h
@@ -125,7 +125,7 @@
}
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 c92ae54..b42c1f6 100644
--- a/gps/core/data-items/DataItemConcreteTypes.h
+++ b/gps/core/data-items/DataItemConcreteTypes.h
@@ -310,7 +310,7 @@
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,