am e20fcb2d: am e9975987: Merge "Quiten warnings in semaphore.c."

* commit 'e20fcb2d70af950cff4ae5df8038d800630e39be':
  Quiten warnings in semaphore.c.
This commit is contained in:
Elliott Hughes 2014-07-02 00:46:18 +00:00 committed by Android Git Automerger
commit a230741e47

View File

@ -147,7 +147,7 @@ int sem_close(sem_t *sem)
} }
int sem_unlink(const char * name) int sem_unlink(const char* name __unused)
{ {
errno = ENOSYS; errno = ENOSYS;
return -1; return -1;
@ -266,7 +266,6 @@ int sem_wait(sem_t *sem)
int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout) int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout)
{ {
int ret;
unsigned int shared; unsigned int shared;
if (sem == NULL) { if (sem == NULL) {