Remove 'return' statements that can never be reached

Clang -Wunreachable-code-return warns otherwise.
This commit is contained in:
Sean McBride 2014-03-28 11:42:09 -04:00 committed by Brad King
parent 50ca77f4a0
commit 8c9c4fe1a6
2 changed files with 0 additions and 2 deletions

View File

@ -59,7 +59,6 @@ bool cmCursesOptionsWidget::HandleInput(int& key, cmCursesMainForm*, WINDOW* w)
{ {
return false; return false;
} }
return false;
} }
void cmCursesOptionsWidget::AddOption(std::string const & option ) void cmCursesOptionsWidget::AddOption(std::string const & option )

View File

@ -1662,7 +1662,6 @@ long copy_data(struct archive *ar, struct archive *aw)
return (r); return (r);
} }
} }
return r;
} }
bool extract_tar(const char* outFileName, bool verbose, bool extract_tar(const char* outFileName, bool verbose,