From d86d95cf2b1b8b6e7f5985c9a4074347554a2fb7 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Tue, 24 Sep 2002 10:30:57 -0400 Subject: Cleanup --- Source/cmLoadCommandCommand.cxx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Source/cmLoadCommandCommand.cxx b/Source/cmLoadCommandCommand.cxx index aadae70..c01fa46 100644 --- a/Source/cmLoadCommandCommand.cxx +++ b/Source/cmLoadCommandCommand.cxx @@ -204,16 +204,12 @@ bool cmLoadCommandCommand::InitialPass(std::vector 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; } -- cgit v0.12