diff options
author | Brad King <brad.king@kitware.com> | 2014-04-03 16:51:45 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-04-03 16:51:45 (GMT) |
commit | f92f7e8d23cf15965abee026624d239f60263ee1 (patch) | |
tree | 21ebf62df79e33b45cfe296338b09db9ded4de97 /Source/cmSystemTools.cxx | |
parent | 7d34041709d83cfa9ff66af3a3a2899d4be072f7 (diff) | |
parent | 1de086855caa63063380387d70811e8acf1f3d05 (diff) | |
download | CMake-f92f7e8d23cf15965abee026624d239f60263ee1.zip CMake-f92f7e8d23cf15965abee026624d239f60263ee1.tar.gz CMake-f92f7e8d23cf15965abee026624d239f60263ee1.tar.bz2 |
Merge topic 'clang-warnings'
1de08685 cmSystemTools: Restore unreachable return to silence warnings
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 5beb36d..c1c33f2 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1616,6 +1616,9 @@ long copy_data(struct archive *ar, struct archive *aw) return (r); } } +#if !defined(__clang__) + return r; /* this should not happen but it silences a warning */ +#endif } bool extract_tar(const char* outFileName, bool verbose, |