summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-04-03 16:51:45 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-04-03 16:51:45 (GMT)
commitf92f7e8d23cf15965abee026624d239f60263ee1 (patch)
tree21ebf62df79e33b45cfe296338b09db9ded4de97 /Source/cmSystemTools.cxx
parent7d34041709d83cfa9ff66af3a3a2899d4be072f7 (diff)
parent1de086855caa63063380387d70811e8acf1f3d05 (diff)
downloadCMake-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.cxx3
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,