diff options
author | Brad King <brad.king@kitware.com> | 2014-04-01 15:06:15 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-04-01 15:06:15 (GMT) |
commit | 242e13bfe622d80ca329119ae4027d739d7fa90f (patch) | |
tree | 7c7d678ea86fd9d50dd2d7ad796eec45adfc07ff /Source | |
parent | a5a6d537824d5c05ad6b9e6b4f13b92b492543c4 (diff) | |
parent | 8c9c4fe1a6d0c660c7e4e4c1af2cdf2e889fbfbd (diff) | |
download | CMake-242e13bfe622d80ca329119ae4027d739d7fa90f.zip CMake-242e13bfe622d80ca329119ae4027d739d7fa90f.tar.gz CMake-242e13bfe622d80ca329119ae4027d739d7fa90f.tar.bz2 |
Merge topic 'clang-warnings'
8c9c4fe1 Remove 'return' statements that can never be reached
50ca77f4 create_test_sourcelist: Initialize variable at declaration
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CursesDialog/cmCursesOptionsWidget.cxx | 1 | ||||
-rw-r--r-- | Source/cmSystemTools.cxx | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/Source/CursesDialog/cmCursesOptionsWidget.cxx b/Source/CursesDialog/cmCursesOptionsWidget.cxx index d76ba2a..2f4b59e 100644 --- a/Source/CursesDialog/cmCursesOptionsWidget.cxx +++ b/Source/CursesDialog/cmCursesOptionsWidget.cxx @@ -59,7 +59,6 @@ bool cmCursesOptionsWidget::HandleInput(int& key, cmCursesMainForm*, WINDOW* w) { return false; } - return false; } void cmCursesOptionsWidget::AddOption(std::string const & option ) diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index ef1e37b..5beb36d 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1616,7 +1616,6 @@ long copy_data(struct archive *ar, struct archive *aw) return (r); } } - return r; } bool extract_tar(const char* outFileName, bool verbose, |