From 0d6df3c7aae430908fe35ee387c9dfc7e4612fd6 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 7 Jun 2015 10:11:15 -0400 Subject: [PATCH] CLI: Removed unused std::vectors. --- src/CLI.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/CLI.cpp b/src/CLI.cpp index dc6e403e8..74e9e795b 100644 --- a/src/CLI.cpp +++ b/src/CLI.cpp @@ -840,7 +840,6 @@ void CLI::categorize () changes = true; continue; } - else if (terminated) { a.tag ("ORIGINAL"); @@ -909,14 +908,10 @@ bool CLI::exactMatch ( const std::string& value) const { // Extract a list of entities for category. - std::vector options; auto c = _entities.equal_range (category); for (auto e = c.first; e != c.second; ++e) - { - // Shortcut: if an exact match is found, success. if (value == e->second) return true; - } return false; } @@ -2273,7 +2268,6 @@ bool CLI::isAttribute (const std::string& raw) const bool CLI::isOperator (const std::string& raw) const { // Walk the list of entities for category. - std::vector options; auto c = _entities.equal_range ("operator"); for (auto e = c.first; e != c.second; ++e) if (raw == e->second)