diff options
| author | 2020-01-22 12:57:21 +0000 | |
|---|---|---|
| committer | 2020-01-22 12:57:21 +0000 | |
| commit | 853c73c00e6c597df0596a7483ba5c05b0ebeeaf (patch) | |
| tree | 593173eba96caef0141c83689ee99ffbbd50b4a4 /usr.sbin/bind/lib/isc/safe.c | |
| parent | Spell out PORT_NONBLOCK as O_NONBLOCK and ISC_SOCKADDR_LEN_T as (diff) | |
| download | wireguard-openbsd-853c73c00e6c597df0596a7483ba5c05b0ebeeaf.tar.xz wireguard-openbsd-853c73c00e6c597df0596a7483ba5c05b0ebeeaf.zip | |
get rid if ISC_{UN,}LIKELY it's in the way and not useful.
OK millert
Diffstat (limited to 'usr.sbin/bind/lib/isc/safe.c')
| -rw-r--r-- | usr.sbin/bind/lib/isc/safe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bind/lib/isc/safe.c b/usr.sbin/bind/lib/isc/safe.c index cb25c5a78db..9da6463efa7 100644 --- a/usr.sbin/bind/lib/isc/safe.c +++ b/usr.sbin/bind/lib/isc/safe.c @@ -69,7 +69,7 @@ isc_safe_memcompare(const void *b1, const void *b2, size_t len) { void isc_safe_memwipe(void *ptr, size_t len) { - if (ISC_UNLIKELY(ptr == NULL || len == 0)) + if (ptr == NULL || len == 0) return; explicit_bzero(ptr, len); |
