Merge topic 'clang-warnings'

1de08685 cmSystemTools: Restore unreachable return to silence warnings
This commit is contained in:
Brad King 2014-04-03 12:51:45 -04:00 committed by CMake Topic Stage
commit f92f7e8d23
1 changed files with 3 additions and 0 deletions

View File

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