From 6a003c6f355776343157f2437b8cabbc003c2adf Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 26 Apr 2021 11:18:46 -0400 Subject: cmSystemTools: Avoid unreachable code warning on NVHPC --- Source/cmSystemTools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 5382fac..281f6c9 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1797,7 +1797,7 @@ bool copy_data(struct archive* ar, struct archive* aw) return false; } } -# if !defined(__clang__) && !defined(__HP_aCC) +# if !defined(__clang__) && !defined(__NVCOMPILER) && !defined(__HP_aCC) return false; /* this should not happen but it quiets some compilers */ # endif } -- cgit v0.12