mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdVersion: Removed redundant arg checks
This commit is contained in:
parent
3b18ca4f50
commit
9bb2e4f8f5
1 changed files with 0 additions and 7 deletions
|
@ -28,7 +28,6 @@
|
|||
#include <sstream>
|
||||
#include <stdlib.h>
|
||||
#include <Context.h>
|
||||
#include <Filter.h>
|
||||
#include <ViewText.h>
|
||||
#ifdef HAVE_COMMIT
|
||||
#include <commit.h>
|
||||
|
@ -58,12 +57,6 @@ CmdVersion::CmdVersion ()
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdVersion::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::stringstream out;
|
||||
|
||||
// Create a table for the disclaimer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue