CmdEdit: Removed redundant arg checks
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user