mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdCustom
- Removed a vector of column labels that is simply not used.
This commit is contained in:
parent
9bb1dbbd4d
commit
69d4e0392b
1 changed files with 0 additions and 5 deletions
|
@ -76,11 +76,6 @@ int CmdCustom::execute (std::string& output)
|
||||||
if (columns.size () != labels.size () && labels.size () != 0)
|
if (columns.size () != labels.size () && labels.size () != 0)
|
||||||
throw format (STRING_CMD_CUSTOM_MISMATCH, _keyword);
|
throw format (STRING_CMD_CUSTOM_MISMATCH, _keyword);
|
||||||
|
|
||||||
std::map <std::string, std::string> columnLabels;
|
|
||||||
if (labels.size ())
|
|
||||||
for (unsigned int i = 0; i < columns.size (); ++i)
|
|
||||||
columnLabels[columns[i]] = labels[i];
|
|
||||||
|
|
||||||
std::vector <std::string> sortOrder;
|
std::vector <std::string> sortOrder;
|
||||||
split (sortOrder, reportSort, ',');
|
split (sortOrder, reportSort, ',');
|
||||||
validateSortColumns (sortOrder);
|
validateSortColumns (sortOrder);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue