diff --git a/ProcessUNIX.c b/ProcessUNIX.c
index e1e7721b41a0f7c165d9bca06e3090efddeb3bcf..5ae846aeee67edd88710fb15218feebc8e0c8738 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.  */