Commit d86d95cf authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

Cleanup

parent e00b56dd
......@@ -204,16 +204,12 @@ bool cmLoadCommandCommand::InitialPass(std::vector<std::string> const& argsIn)
{
// create a function blocker and set it up
cmLoadedCommand *f = new cmLoadedCommand();
if (!initFunction)
{
this->SetError("Attempt to load command failed. "
"No init function found.");
return false;
}
(*initFunction)(&f->info);
m_Makefile->AddCommand(f);
return true;
}
this->SetError("Attempt to load command failed. "
"No init function found.");
}
return false;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment