From 9bb2e4f8f5f9696454d7256078470388f71dd652 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 6 Sep 2015 02:15:49 -0400 Subject: [PATCH] CmdVersion: Removed redundant arg checks --- src/commands/CmdVersion.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/commands/CmdVersion.cpp b/src/commands/CmdVersion.cpp index 4cafc8375..afb5b9dd1 100644 --- a/src/commands/CmdVersion.cpp +++ b/src/commands/CmdVersion.cpp @@ -28,7 +28,6 @@ #include #include #include -#include #include #ifdef HAVE_COMMIT #include @@ -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.