From ad9d7b7a1b6d00589fd71953903ada2996ad507c Mon Sep 17 00:00:00 2001 From: dmiller Date: Thu, 5 Jan 2023 23:45:56 +0000 Subject: [PATCH] Fix MSVC warning about (void) --- nbase/nbase.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nbase/nbase.h b/nbase/nbase.h index 9acbaa364..69c598806 100644 --- a/nbase/nbase.h +++ b/nbase/nbase.h @@ -339,7 +339,7 @@ static inline int checked_fd_isset(int fd, fd_set *fds) { } static inline void checked_fd_clr(int fd, fd_set *fds) { - CHECK_FD_OP(FD_CLR, (void)); + CHECK_FD_OP(FD_CLR, /**/); } static inline void checked_fd_set(int fd, fd_set *fds) { @@ -351,7 +351,7 @@ static inline void checked_fd_set(int fd, fd_set *fds) { abort(); } #endif - CHECK_FD_OP(FD_SET, (void)); + CHECK_FD_OP(FD_SET, /**/); }