From 18513fa1185f3f2b28f3c4de5ae3f69c9ec9e5cb Mon Sep 17 00:00:00 2001 From: KWSys Upstream Date: Thu, 29 Apr 2021 09:09:55 -0400 Subject: KWSys 2021-04-29 (5655d533) Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 5655d533a9a4fb59b87d364c896339f1d454d420 (master). Upstream Shortlog ----------------- Brad King (1): 6e59fd94 Process: Suppress NVHPC warning in FD_ZERO --- ProcessUNIX.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ProcessUNIX.c b/ProcessUNIX.c index e1e7721..5ae846a 100644 --- a/ProcessUNIX.c +++ b/ProcessUNIX.c @@ -122,6 +122,10 @@ static inline void kwsysProcess_usleep(unsigned int msec) /* The maximum amount to read from a pipe at a time. */ #define KWSYSPE_PIPE_BUFFER_SIZE 1024 +#if defined(__NVCOMPILER) +# pragma diag_suppress 550 /* variable set but never used (in FD_ZERO) */ +#endif + /* Keep track of times using a signed representation. Switch to the native (possibly unsigned) representation only when calling native functions. */ -- cgit v0.12