CmdImport: Removed redundant filter processing

This commit is contained in:
Paul Beckingham 2015-10-28 18:21:59 -04:00
parent e76f63aa01
commit 778ba44beb

View file

@ -60,10 +60,6 @@ int CmdImport::execute (std::string&)
int rc = 0;
int count = 0;
Filter filter;
if (filter.hasFilter ())
throw std::string (STRING_ERROR_NO_FILTER);
// Get filenames from command line arguments.
std::vector <std::string> words = context.cli2.getWords ();
if (! words.size () || (words.size () == 1 && words[0] == "-"))