From a2c17773006e44dbfd3c4e95484e7192e7b285d4 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 24 Jan 2006 07:58:55 -0500 Subject: [PATCH] COMP: fix warning --- Source/cmLocalGenerator.cxx | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 8a68ca635..bd64dc93b 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1680,15 +1680,12 @@ std::string cmLocalGenerator::GetRealDependency(const char* inName, // This is a full path. Return it as given. return inName; } - else - { - // Treat the name as relative to the source directory in which it - // was given. - name = m_Makefile->GetCurrentDirectory(); - name += "/"; - name += inName; - return name; - } + // Treat the name as relative to the source directory in which it + // was given. + name = m_Makefile->GetCurrentDirectory(); + name += "/"; + name += inName; + return name; } //----------------------------------------------------------------------------