KW Warning Fixes
CRs-Fixed: 2082072 Change-Id: I1189acd521d4e4cea3b8a9545a5486f29caaa0fe
This commit is contained in:
parent
a7094b1279
commit
2481cf3f82
1 changed files with 5 additions and 0 deletions
|
@ -600,6 +600,7 @@ void LocationAPIClientBase::locAPIRemoveGeofences(size_t count, uint32_t* ids)
|
||||||
if (sessions == NULL) {
|
if (sessions == NULL) {
|
||||||
LOC_LOGE("%s:%d] Failed to allocate %d bytes !",
|
LOC_LOGE("%s:%d] Failed to allocate %d bytes !",
|
||||||
__FUNCTION__, __LINE__, sizeof(uint32_t) * count);
|
__FUNCTION__, __LINE__, sizeof(uint32_t) * count);
|
||||||
|
pthread_mutex_unlock(&mMutex);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -634,6 +635,7 @@ void LocationAPIClientBase::locAPIModifyGeofences(
|
||||||
if (sessions == NULL) {
|
if (sessions == NULL) {
|
||||||
LOC_LOGE("%s:%d] Failed to allocate %d bytes !",
|
LOC_LOGE("%s:%d] Failed to allocate %d bytes !",
|
||||||
__FUNCTION__, __LINE__, sizeof(uint32_t) * count);
|
__FUNCTION__, __LINE__, sizeof(uint32_t) * count);
|
||||||
|
pthread_mutex_unlock(&mMutex);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -668,6 +670,7 @@ void LocationAPIClientBase::locAPIPauseGeofences(size_t count, uint32_t* ids)
|
||||||
if (sessions == NULL) {
|
if (sessions == NULL) {
|
||||||
LOC_LOGE("%s:%d] Failed to allocate %d bytes !",
|
LOC_LOGE("%s:%d] Failed to allocate %d bytes !",
|
||||||
__FUNCTION__, __LINE__, sizeof(uint32_t) * count);
|
__FUNCTION__, __LINE__, sizeof(uint32_t) * count);
|
||||||
|
pthread_mutex_unlock(&mMutex);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -702,6 +705,7 @@ void LocationAPIClientBase::locAPIResumeGeofences(
|
||||||
if (sessions == NULL) {
|
if (sessions == NULL) {
|
||||||
LOC_LOGE("%s:%d] Failed to allocate %d bytes !",
|
LOC_LOGE("%s:%d] Failed to allocate %d bytes !",
|
||||||
__FUNCTION__, __LINE__, sizeof(uint32_t) * count);
|
__FUNCTION__, __LINE__, sizeof(uint32_t) * count);
|
||||||
|
pthread_mutex_unlock(&mMutex);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -740,6 +744,7 @@ void LocationAPIClientBase::locAPIRemoveAllGeofences()
|
||||||
if (sessions == NULL) {
|
if (sessions == NULL) {
|
||||||
LOC_LOGE("%s:%d] Failed to allocate %d bytes !",
|
LOC_LOGE("%s:%d] Failed to allocate %d bytes !",
|
||||||
__FUNCTION__, __LINE__, sizeof(uint32_t) * count);
|
__FUNCTION__, __LINE__, sizeof(uint32_t) * count);
|
||||||
|
pthread_mutex_unlock(&mMutex);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue