From 3b18ca4f50e0d0c309a341db3ef7c2f7cb06dc22 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 6 Sep 2015 02:14:36 -0400 Subject: [PATCH] CmdUDAs: Remvoed redundant arg checks --- src/commands/CmdUDAs.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/commands/CmdUDAs.cpp b/src/commands/CmdUDAs.cpp index cfcfe0268..aa4fcec32 100644 --- a/src/commands/CmdUDAs.cpp +++ b/src/commands/CmdUDAs.cpp @@ -77,11 +77,6 @@ int CmdUDAs::execute (std::string& output) std::vector filtered; filter.subset (filtered); - if (filter.hasFilter ()) - throw std::string (STRING_ERROR_NO_FILTER); - if (filter.hasModifications ()) - throw std::string (STRING_ERROR_NO_MODS); - if (udas.size ()) { std::sort (udas.begin (), udas.end ());