diff options
author | Brad King <brad.king@kitware.com> | 2021-04-29 13:21:14 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-04-29 13:21:37 (GMT) |
commit | e2ac92681c85ecd52069852415c17e05649b989a (patch) | |
tree | 1e84de55778703eca674e14100dc4547e3f57127 /Source/cmSystemTools.cxx | |
parent | c4f8c823582aa207059ee43126ec88e678ac1284 (diff) | |
parent | f881b4e4ccbab9aa7f3af3c610a72ad0422e90f9 (diff) | |
download | CMake-e2ac92681c85ecd52069852415c17e05649b989a.zip CMake-e2ac92681c85ecd52069852415c17e05649b989a.tar.gz CMake-e2ac92681c85ecd52069852415c17e05649b989a.tar.bz2 |
Merge topic 'nvhpc-warnings'
f881b4e4cc cmCPackDebGenerator: Remove unused local variable
5ad8862318 Source: Convince NVHPC that RAII variables are used
1898f9dd82 cmFileCommand: Remove unused local variable
6a003c6f35 cmSystemTools: Avoid unreachable code warning on NVHPC
16275c7f82 LexerParser: Suppress NVHPC warnings in generated code
cefda16d35 LexerParser: Regenerate parsers with bison 3.7.5
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6049
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 aad5533..9e46dab 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 } |