sm8450-common: gps: Resolve unused parameter warnings

Change-Id: I0acef3da2c3567a28edd0a71dac89a5828f7725d
This commit is contained in:
Michael Bestas
2021-01-06 19:23:51 +02:00
committed by Arian
parent 946f3651cd
commit 3094f39138
13 changed files with 37 additions and 37 deletions

View File

@@ -88,8 +88,8 @@ void LocAdapterBase::
const GpsLocationExtended& locationExtended,
enum loc_sess_status status,
LocPosTechMask loc_technology_mask,
GnssDataNotification* pDataNotify,
int msInWeek)
GnssDataNotification* pDataNotify __unused,
int msInWeek __unused)
{
if (mLocAdapterProxyBase != NULL) {
mLocAdapterProxyBase->reportPositionEvent((UlpLocation&)location,
@@ -161,7 +161,7 @@ DEFAULT_IMPL(false)
bool LocAdapterBase::
requestNiNotifyEvent(const GnssNiNotification &/*notify*/,
const void* /*data*/,
const LocInEmergency emergencyState)
const LocInEmergency /*emergencyState*/)
DEFAULT_IMPL(false)
void LocAdapterBase::
@@ -347,7 +347,7 @@ LocAdapterBase::updateClientsEventMask()
DEFAULT_IMPL()
void
LocAdapterBase::stopClientSessions(LocationAPI* client, bool eraseSession)
LocAdapterBase::stopClientSessions(LocationAPI* /*client*/, bool /*eraseSession*/)
DEFAULT_IMPL()
void
@@ -436,7 +436,7 @@ LocAdapterBase::reportLatencyInfoEvent(const GnssLatencyInfo& /*gnssLatencyInfo*
DEFAULT_IMPL()
bool LocAdapterBase::
reportQwesCapabilities(const std::unordered_map<LocationQwesFeatureType, bool> &featureMap)
reportQwesCapabilities(const std::unordered_map<LocationQwesFeatureType, bool> &/*featureMap*/)
DEFAULT_IMPL(false)
} // namespace loc_core