diff options
| author | christos <christos@NetBSD.org> | 2003-05-27 15:22:56 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2003-05-27 15:22:56 +0000 |
| commit | 4e29fa827646026d5c3e8da5232b264b7cea0b99 (patch) | |
| tree | c45e4fa119f708fbeeae1b1457345362f37fcee5 /lib/libpthread/pthread_mutex.c | |
| parent | d36494e29b43ce70ed74235d7c9796237efee71e (diff) | |
add missing notreached lint comment.
Diffstat (limited to 'lib/libpthread/pthread_mutex.c')
| -rw-r--r-- | lib/libpthread/pthread_mutex.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libpthread/pthread_mutex.c b/lib/libpthread/pthread_mutex.c index e062006c9a3..68170c995dd 100644 --- a/lib/libpthread/pthread_mutex.c +++ b/lib/libpthread/pthread_mutex.c @@ -1,4 +1,4 @@ -/* $NetBSD: pthread_mutex.c,v 1.15 2003/05/16 21:28:26 nathanw Exp $ */ +/* $NetBSD: pthread_mutex.c,v 1.16 2003/05/27 15:22:56 christos Exp $ */ /*- * Copyright (c) 2001, 2003 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: pthread_mutex.c,v 1.15 2003/05/16 21:28:26 nathanw Exp $"); +__RCSID("$NetBSD: pthread_mutex.c,v 1.16 2003/05/27 15:22:56 christos Exp $"); #include <errno.h> #include <limits.h> @@ -333,6 +333,7 @@ pthread_mutex_unlock(pthread_mutex_t *mutex) case PTHREAD_MUTEX_ERRORCHECK: if (!weown) return EPERM; + /*FALLTHROUGH*/ default: if (__predict_false(!weown)) { pthread__error(EPERM, "Unlocking unlocked mutex", |
