mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-21 07:43:08 +02:00
Task: Dead code removal
This commit is contained in:
parent
59b98cf302
commit
30911968cc
2 changed files with 0 additions and 11 deletions
10
src/Task.cpp
10
src/Task.cpp
|
@ -1184,16 +1184,6 @@ void Task::removeTag (const std::string& tag)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef PRODUCT_TASKWARRIOR
|
#ifdef PRODUCT_TASKWARRIOR
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// A UDA is an attribute that has supporting config entries such as a data type:
|
|
||||||
// 'uda.<name>.type'
|
|
||||||
void Task::getUDAs (std::vector <std::string>& names) const
|
|
||||||
{
|
|
||||||
for (auto& it : *this)
|
|
||||||
if (context.config.get ("uda." + it.first + ".type") != "")
|
|
||||||
names.push_back (it.first);
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// A UDA Orphan is an attribute that is not represented in context.columns.
|
// A UDA Orphan is an attribute that is not represented in context.columns.
|
||||||
void Task::getUDAOrphans (std::vector <std::string>& names) const
|
void Task::getUDAOrphans (std::vector <std::string>& names) const
|
||||||
|
|
|
@ -139,7 +139,6 @@ public:
|
||||||
void getDependencies (std::vector <int>&) const;
|
void getDependencies (std::vector <int>&) const;
|
||||||
void getDependencies (std::vector <std::string>&) const;
|
void getDependencies (std::vector <std::string>&) const;
|
||||||
|
|
||||||
void getUDAs (std::vector <std::string>&) const;
|
|
||||||
void getUDAOrphans (std::vector <std::string>&) const;
|
void getUDAOrphans (std::vector <std::string>&) const;
|
||||||
|
|
||||||
void substitute (const std::string&, const std::string&, const std::string&);
|
void substitute (const std::string&, const std::string&, const std::string&);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue