summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-01-24 12:58:55 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-01-24 12:58:55 (GMT)
commita2c17773006e44dbfd3c4e95484e7192e7b285d4 (patch)
treed0a2dc615202965c9bf2ad1107b824df0646ee0c /Source/cmLocalGenerator.cxx
parentdaca5484b97ae89f78d35eb65cd5b2d3fcec2462 (diff)
downloadCMake-a2c17773006e44dbfd3c4e95484e7192e7b285d4.zip
CMake-a2c17773006e44dbfd3c4e95484e7192e7b285d4.tar.gz
CMake-a2c17773006e44dbfd3c4e95484e7192e7b285d4.tar.bz2
COMP: fix warning
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx15
1 files changed, 6 insertions, 9 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 8a68ca6..bd64dc9 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;
}
//----------------------------------------------------------------------------