From: Dmitry Volyntsev Date: Wed, 3 Oct 2018 12:36:36 +0000 (+0300) Subject: Removed useless casting to void for explicit_bzero(). X-Git-Tag: 0.2.5~15 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=a56e70bae621bfab0534aa9e481870bc7bff8291;p=njs.git Removed useless casting to void for explicit_bzero(). --- diff --git a/nxt/nxt_string.h b/nxt/nxt_string.h index e48ec9a1..32946779 100644 --- a/nxt/nxt_string.h +++ b/nxt/nxt_string.h @@ -52,7 +52,7 @@ nxt_upper_case(u_char c) #if (NXT_HAVE_EXPLICIT_BZERO) #define nxt_explicit_memzero(buf, length) \ - (void) (explicit_bzero(buf, length)) + explicit_bzero(buf, length) #elif (NXT_HAVE_EXPLICIT_MEMSET) #define nxt_explicit_memzero(buf, length) \ (void) (explicit_memset(buf, 0, length))