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