mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-09 18:50:39 +02:00
Cleanup: Prep for '-Wextra'
This commit is contained in:
parent
84be60fdca
commit
a82558064b
23 changed files with 48 additions and 54 deletions
|
@ -53,7 +53,7 @@ CmdDuplicate::CmdDuplicate ()
|
|||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdDuplicate::execute (std::string& output)
|
||||
int CmdDuplicate::execute (std::string&)
|
||||
{
|
||||
int rc = 0;
|
||||
int count = 0;
|
||||
|
@ -105,8 +105,7 @@ int CmdDuplicate::execute (std::string& output)
|
|||
|
||||
dup.modify (Task::modAnnotate);
|
||||
|
||||
if (permission (dup,
|
||||
format (STRING_CMD_DUPLICATE_CONFIRM,
|
||||
if (permission (format (STRING_CMD_DUPLICATE_CONFIRM,
|
||||
task.id,
|
||||
task.get ("description")),
|
||||
filtered.size ()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue