mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdReports: Removed redundant arg checks
This commit is contained in:
parent
d55b5907cd
commit
4183667efd
1 changed files with 0 additions and 7 deletions
|
@ -28,7 +28,6 @@
|
|||
#include <sstream>
|
||||
#include <algorithm>
|
||||
#include <Context.h>
|
||||
#include <Filter.h>
|
||||
#include <ViewText.h>
|
||||
#include <text.h>
|
||||
#include <i18n.h>
|
||||
|
@ -55,12 +54,6 @@ CmdReports::CmdReports ()
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdReports::execute (std::string& output)
|
||||
{
|
||||
Filter filter;
|
||||
if (filter.hasFilter ())
|
||||
throw std::string (STRING_ERROR_NO_FILTER);
|
||||
if (filter.hasModifications ())
|
||||
throw std::string (STRING_ERROR_NO_MODS);
|
||||
|
||||
std::vector <std::string> reports;
|
||||
|
||||
// Add custom reports.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue