Cleanup: Prep for '-Wextra'
This commit is contained in:
@@ -53,7 +53,7 @@ CmdDone::CmdDone ()
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdDone::execute (std::string& output)
|
||||
int CmdDone::execute (std::string&)
|
||||
{
|
||||
int rc = 0;
|
||||
int count = 0;
|
||||
@@ -97,7 +97,7 @@ int CmdDone::execute (std::string& output)
|
||||
task.addAnnotation (context.config.get ("journal.time.stop.annotation"));
|
||||
}
|
||||
|
||||
if (permission (task, taskDifferences (before, task) + question, filtered.size ()))
|
||||
if (permission (taskDifferences (before, task) + question, filtered.size ()))
|
||||
{
|
||||
updateRecurrenceMask (task);
|
||||
context.tdb2.modify (task);
|
||||
|
||||
Reference in New Issue
Block a user