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);