diff options
author | Brad King <brad.king@kitware.com> | 2021-04-26 15:18:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-04-28 14:09:52 (GMT) |
commit | 6a003c6f355776343157f2437b8cabbc003c2adf (patch) | |
tree | e91774c854be8fd7e73ef7daa7231e904be93586 /Source/cmSystemTools.cxx | |
parent | 16275c7f82180b2c6f207d2dc9a6f4187ae2e486 (diff) | |
download | CMake-6a003c6f355776343157f2437b8cabbc003c2adf.zip CMake-6a003c6f355776343157f2437b8cabbc003c2adf.tar.gz CMake-6a003c6f355776343157f2437b8cabbc003c2adf.tar.bz2 |
cmSystemTools: Avoid unreachable code warning on NVHPC
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |