mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 14:29:59 -04:00
UNUSED()
This commit is contained in:
parent
23d0a2b591
commit
91f74728a7
1 changed files with 3 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rwlock.c,v 1.27 2001/01/09 21:56:26 bwelling Exp $ */
|
||||
/* $Id: rwlock.c,v 1.28 2001/02/07 20:03:23 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -301,6 +301,8 @@ isc_rwlock_unlock(isc_rwlock_t *rwl, isc_rwlocktype_t type) {
|
|||
REQUIRE(VALID_RWLOCK(rwl));
|
||||
REQUIRE(rwl->type == type);
|
||||
|
||||
UNUSED(type);
|
||||
|
||||
INSIST(rwl->active > 0);
|
||||
rwl->active--;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue