1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-15 20:46:37 +08:00

cmSystemTools: Avoid unreachable code warning on NVHPC

This commit is contained in:
Brad King
2021-04-26 11:18:46 -04:00
parent 16275c7f82
commit 6a003c6f35

View File

@@ -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
}