mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-01 09:17:19 +02:00
Code Cleanup
- Removed unused attribute lookup from Task::validate.
This commit is contained in:
parent
e91a6a1897
commit
ce07b9ba7b
1 changed files with 1 additions and 2 deletions
|
@ -1541,7 +1541,6 @@ void Task::validate (bool applyDefault /* = true */)
|
||||||
std::vector <std::string>::iterator uda;
|
std::vector <std::string>::iterator uda;
|
||||||
for (uda = udas.begin (); uda != udas.end (); ++uda)
|
for (uda = udas.begin (); uda != udas.end (); ++uda)
|
||||||
{
|
{
|
||||||
std::string type = context.config.get ("uda." + *uda + ".type");
|
|
||||||
std::string defVal= context.config.get ("uda." + *uda + ".default");
|
std::string defVal= context.config.get ("uda." + *uda + ".default");
|
||||||
|
|
||||||
// If the default is empty, and we already have a value, skip it
|
// If the default is empty, and we already have a value, skip it
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue