From 283f9bb2bc6a8d6c521348e30c98100d013bc1ac Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 6 Sep 2015 02:01:33 -0400 Subject: [PATCH] CmdDiagnostics: Removed redundant arg checks --- src/commands/CmdDiagnostics.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/commands/CmdDiagnostics.cpp b/src/commands/CmdDiagnostics.cpp index 7ba0e40cf..149e8ff0b 100644 --- a/src/commands/CmdDiagnostics.cpp +++ b/src/commands/CmdDiagnostics.cpp @@ -32,7 +32,6 @@ #include #include #include -#include #include #include #include @@ -71,12 +70,6 @@ CmdDiagnostics::CmdDiagnostics () // kind of questions we always have to ask whenever something is wrong. int CmdDiagnostics::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); - Color bold; if (context.color ()) bold = Color ("bold");