diff options
| author | lukem <lukem@NetBSD.org> | 1999-09-20 04:38:56 +0000 |
|---|---|---|
| committer | lukem <lukem@NetBSD.org> | 1999-09-20 04:38:56 +0000 |
| commit | d896261208b4610b0c4e86ea95caad3cdc86a4ac (patch) | |
| tree | 9a96db945c9ffba191e3aa4d741cf5d30fbd30f2 /lib/libusb/data.c | |
| parent | f6ae64deff8e64a1acb3e1536bf6b6d06f7bffb9 (diff) | |
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
Diffstat (limited to 'lib/libusb/data.c')
| -rw-r--r-- | lib/libusb/data.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/libusb/data.c b/lib/libusb/data.c index aa29f6382e6..127482b9b75 100644 --- a/lib/libusb/data.c +++ b/lib/libusb/data.c @@ -1,4 +1,4 @@ -/* $NetBSD: data.c,v 1.5 1999/09/16 11:45:50 lukem Exp $ */ +/* $NetBSD: data.c,v 1.6 1999/09/20 04:48:12 lukem Exp $ */ /* * Copyright (c) 1999 Lennart Augustsson <augustss@netbsd.org> @@ -41,10 +41,6 @@ hid_get_data(void *p, hid_item_t *h) _DIAGASSERT(p != NULL); _DIAGASSERT(h != NULL); -#ifdef _DIAGNOSTIC - if (p == NULL || h == NULL) - return (0); -#endif buf = p; hpos = h->pos; /* bit position of data */ @@ -77,10 +73,6 @@ hid_set_data(void *p, hid_item_t *h, int data) _DIAGASSERT(p != NULL); _DIAGASSERT(h != NULL); -#ifdef _DIAGNOSTIC - if (p == NULL || h == NULL) - return; -#endif buf = p; hpos = h->pos; /* bit position of data */ |
