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");