From 69d4e0392b6402d34f58ff50725af92da75d57ed Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 20 Sep 2014 14:12:39 -0400 Subject: [PATCH] CmdCustom - Removed a vector of column labels that is simply not used. --- src/commands/CmdCustom.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/commands/CmdCustom.cpp b/src/commands/CmdCustom.cpp index fc00dafef..9cc280774 100644 --- a/src/commands/CmdCustom.cpp +++ b/src/commands/CmdCustom.cpp @@ -76,11 +76,6 @@ int CmdCustom::execute (std::string& output) if (columns.size () != labels.size () && labels.size () != 0) throw format (STRING_CMD_CUSTOM_MISMATCH, _keyword); - std::map columnLabels; - if (labels.size ()) - for (unsigned int i = 0; i < columns.size (); ++i) - columnLabels[columns[i]] = labels[i]; - std::vector sortOrder; split (sortOrder, reportSort, ','); validateSortColumns (sortOrder);