Welcome! Log In Create A New Profile

Advanced

[njs] Removed useless casting to void for explicit_bzero().

Dmitry Volyntsev
October 03, 2018 08:58AM
details: http://hg.nginx.org/njs/rev/26ebe2b71708
branches:
changeset: 618:26ebe2b71708
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Wed Oct 03 15:36:36 2018 +0300
description:
Removed useless casting to void for explicit_bzero().

diffstat:

nxt/nxt_string.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 3528e41d10d4 -r 26ebe2b71708 nxt/nxt_string.h
--- a/nxt/nxt_string.h Tue Oct 02 20:34:30 2018 +0300
+++ b/nxt/nxt_string.h Wed Oct 03 15:36:36 2018 +0300
@@ -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))
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Removed useless casting to void for explicit_bzero().

Dmitry Volyntsev 312 October 03, 2018 08:58AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 299
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready