mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 00:57:19 +02:00
Code Cleanup
- Removed unused uti.cpp indentTree function.
This commit is contained in:
parent
adee92a6b9
commit
e15907f3f1
3 changed files with 1 additions and 37 deletions
14
src/util.cpp
14
src/util.cpp
|
@ -347,20 +347,6 @@ int execute (
|
|||
// - delimiter is the character used to split up projects into subprojects.
|
||||
// - defaults to the period, '.'
|
||||
//
|
||||
const std::vector<std::string> indentTree (
|
||||
const std::vector<std::string>& values,
|
||||
const std::string& whitespace /* = " " */,
|
||||
char delimiter/* = '.' */)
|
||||
{
|
||||
std::vector <std::string> modified;
|
||||
std::vector <std::string>::const_iterator i;
|
||||
for (i = values.begin (); i != values.end (); ++i)
|
||||
modified.push_back (indentProject (*i, whitespace, delimiter));
|
||||
|
||||
return modified;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
const std::string indentProject (
|
||||
const std::string& project,
|
||||
const std::string& whitespace /* = " " */,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue