From 4183667efdbbf42354743cb19b705adfbb4c28e5 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 6 Sep 2015 02:12:16 -0400 Subject: [PATCH] CmdReports: Removed redundant arg checks --- src/commands/CmdReports.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/commands/CmdReports.cpp b/src/commands/CmdReports.cpp index c34678426..54f32e532 100644 --- a/src/commands/CmdReports.cpp +++ b/src/commands/CmdReports.cpp @@ -28,7 +28,6 @@ #include #include #include -#include #include #include #include @@ -55,12 +54,6 @@ CmdReports::CmdReports () //////////////////////////////////////////////////////////////////////////////// int CmdReports::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::vector reports; // Add custom reports.