mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 13:37:20 +02:00
CmdEdit: Removed redundant arg checks
This commit is contained in:
parent
283f9bb2bc
commit
ea1ce4fad5
1 changed files with 0 additions and 3 deletions
|
@ -73,9 +73,6 @@ int CmdEdit::execute (std::string& output)
|
||||||
std::vector <Task> filtered;
|
std::vector <Task> filtered;
|
||||||
filter.subset (filtered);
|
filter.subset (filtered);
|
||||||
|
|
||||||
if (filter.hasModifications ())
|
|
||||||
throw std::string (STRING_ERROR_NO_MODS);
|
|
||||||
|
|
||||||
// Find number of matching tasks.
|
// Find number of matching tasks.
|
||||||
for (auto& task : filtered)
|
for (auto& task : filtered)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue