From 5cd79d08b37e5eb8f5ac7b6a0db0bc6c721e9e97 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 6 Sep 2015 02:10:05 -0400 Subject: [PATCH] CmdHelp: Removed redundant arg checks --- src/commands/CmdHelp.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/commands/CmdHelp.cpp b/src/commands/CmdHelp.cpp index 6338d2791..d174db611 100644 --- a/src/commands/CmdHelp.cpp +++ b/src/commands/CmdHelp.cpp @@ -29,7 +29,6 @@ #include #include #include -#include #include #include #include @@ -55,12 +54,6 @@ CmdHelp::CmdHelp () //////////////////////////////////////////////////////////////////////////////// int CmdHelp::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); - ViewText view; view.width (context.getWidth ()); view.add (Column::factory ("string.left", ""));