summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-04-03 19:59:43 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-04-03 19:59:43 (GMT)
commitc98d15e8a3bc0ff8a4dcbe20ab3dfd12ed263504 (patch)
tree248357cc3b032cffc2e129ec7aa5b7349688a839 /Source/cmFileCommand.cxx
parent3c8e899102dc58efa5301240f5bf5bf2225c2b65 (diff)
downloadCMake-c98d15e8a3bc0ff8a4dcbe20ab3dfd12ed263504.zip
CMake-c98d15e8a3bc0ff8a4dcbe20ab3dfd12ed263504.tar.gz
CMake-c98d15e8a3bc0ff8a4dcbe20ab3dfd12ed263504.tar.bz2
ENH: fix warning, and remove debug code
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 408eec0..416ac66 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -975,20 +975,12 @@ bool cmFileCommand::HandleSystemPathCommand(std::vector<std::string>
const& args)
{
std::vector<std::string>::const_iterator i = args.begin();
- for(std::vector<std::string>::const_iterator j = args.begin();
- j != args.end(); ++j)
- {
- std::cerr << "[" << *j << "]\n";
- }
- return true;
if(args.size() != 3)
{
this->SetError("FILE(SYSTEM_PATH ENV result) must be called with "
"only three arguments.");
return false;
}
-
-
i++; // Get rid of subcommand
std::vector<std::string> path;
cmSystemTools::GetPath(path, i->c_str());