Remove 'return' statements that can never be reached
Clang -Wunreachable-code-return warns otherwise.
This commit is contained in:
parent
50ca77f4a0
commit
8c9c4fe1a6
|
@ -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 )
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue