mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +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,8 +1541,7 @@ void Task::validate (bool applyDefault /* = true */)
|
|||
std::vector <std::string>::iterator 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 (defVal != "" && get (*uda) == "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue