mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdDelete: Code cleanup
This commit is contained in:
parent
31b1e5e462
commit
01d42acb28
1 changed files with 3 additions and 3 deletions
|
@ -56,8 +56,8 @@ CmdDelete::CmdDelete ()
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdDelete::execute (std::string&)
|
int CmdDelete::execute (std::string&)
|
||||||
{
|
{
|
||||||
int rc = 0;
|
auto rc = 0;
|
||||||
int count = 0;
|
auto count = 0;
|
||||||
|
|
||||||
// Apply filter.
|
// Apply filter.
|
||||||
Filter filter;
|
Filter filter;
|
||||||
|
@ -176,7 +176,7 @@ int CmdDelete::execute (std::string&)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Now list the project changes.
|
// Now list the project changes.
|
||||||
for (auto& change : projectChanges)
|
for (const auto& change : projectChanges)
|
||||||
if (change.first != "")
|
if (change.first != "")
|
||||||
context.footnote (change.second);
|
context.footnote (change.second);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue