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.