Code Cleanup

- Removed unused attribute lookup from Task::validate.
This commit is contained in:
Paul Beckingham 2014-08-16 10:46:55 -04:00
parent e91a6a1897
commit ce07b9ba7b

View file

@ -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) == "")