Merge "Use __unused rather than self assignment for unused parameters."

This commit is contained in:
Elliott Hughes 2014-07-07 17:49:33 +00:00 committed by Gerrit Code Review
commit 1ee1bfdeec

View File

@ -126,11 +126,8 @@ int sem_destroy(sem_t *sem)
}
sem_t *sem_open(const char *name, int oflag, ...)
sem_t *sem_open(const char *name __unused, int oflag __unused, ...)
{
name=name;
oflag=oflag;
errno = ENOSYS;
return SEM_FAILED;
}