mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdSummary: Removed unreachable code
This commit is contained in:
parent
5cad0a0d4e
commit
7d58ddff6b
1 changed files with 3 additions and 7 deletions
|
@ -207,14 +207,10 @@ int CmdSummary::execute (std::string& output)
|
|||
<< view.render ()
|
||||
<< optionalBlankLine ();
|
||||
|
||||
if (view.rows ())
|
||||
out << format (STRING_CMD_PROJECTS_SUMMARY2, view.rows ());
|
||||
else
|
||||
out << STRING_CMD_PROJECTS_SUMMARY;
|
||||
|
||||
out << "\n";
|
||||
out << format (STRING_CMD_PROJECTS_SUMMARY2, view.rows ()) << "\n";
|
||||
}
|
||||
else {
|
||||
else
|
||||
{
|
||||
out << STRING_CMD_PROJECTS_NO << "\n";
|
||||
rc = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue