summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmSystemTools.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 2f5f493..21e3874 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1662,6 +1662,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,