Browse Source

cmSystemTools: Avoid unreachable code warning on NVHPC

Brad King 4 years ago
parent
commit
6a003c6f35
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmSystemTools.cxx

+ 1 - 1
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
 }