mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 10:50:16 -06:00
Remove 'return' statements that can never be reached
Clang -Wunreachable-code-return warns otherwise.
This commit is contained in:
@@ -59,7 +59,6 @@ bool cmCursesOptionsWidget::HandleInput(int& key, cmCursesMainForm*, WINDOW* w)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void cmCursesOptionsWidget::AddOption(std::string const & option )
|
||||
|
||||
@@ -1662,7 +1662,6 @@ long copy_data(struct archive *ar, struct archive *aw)
|
||||
return (r);
|
||||
}
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
||||
bool extract_tar(const char* outFileName, bool verbose,
|
||||
|
||||
Reference in New Issue
Block a user