CmdUDAs: Remvoed redundant arg checks

This commit is contained in:
Paul Beckingham 2015-09-06 02:14:36 -04:00
parent 4183667efd
commit 3b18ca4f50

View file

@ -77,11 +77,6 @@ int CmdUDAs::execute (std::string& output)
std::vector <Task> filtered; std::vector <Task> filtered;
filter.subset (filtered); filter.subset (filtered);
if (filter.hasFilter ())
throw std::string (STRING_ERROR_NO_FILTER);
if (filter.hasModifications ())
throw std::string (STRING_ERROR_NO_MODS);
if (udas.size ()) if (udas.size ())
{ {
std::sort (udas.begin (), udas.end ()); std::sort (udas.begin (), udas.end ());