diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-23 21:43:37 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-06-21 18:57:26 (GMT) |
commit | 782657db48e0d5f0d33a19ad51678d36ddfa7ad5 (patch) | |
tree | f50ec60318de38794369f9c1658c0cbecd07e58d /Source/cmFunctionCommand.cxx | |
parent | a863c59f70a7556c010990a362e4d13792670148 (diff) | |
download | CMake-782657db48e0d5f0d33a19ad51678d36ddfa7ad5.zip CMake-782657db48e0d5f0d33a19ad51678d36ddfa7ad5.tar.gz CMake-782657db48e0d5f0d33a19ad51678d36ddfa7ad5.tar.bz2 |
cmListFileArgument: Remove FilePath member.
It is now unused.
Diffstat (limited to 'Source/cmFunctionCommand.cxx')
-rw-r--r-- | Source/cmFunctionCommand.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Source/cmFunctionCommand.cxx b/Source/cmFunctionCommand.cxx index 662f77d..b3576c3 100644 --- a/Source/cmFunctionCommand.cxx +++ b/Source/cmFunctionCommand.cxx @@ -176,17 +176,6 @@ IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf, f->FilePath = this->GetStartingContext().FilePath; mf.RecordPolicies(f->Policies); - // Set the FilePath on the arguments to match the function since it is - // not stored and the original values may be freed - for (unsigned int i = 0; i < f->Functions.size(); ++i) - { - for (unsigned int j = 0; j < f->Functions[i].Arguments.size(); ++j) - { - f->Functions[i].Arguments[j].FilePath = - f->Functions[i].FilePath.c_str(); - } - } - std::string newName = "_" + this->Args[0]; mf.GetState()->RenameCommand(this->Args[0], newName); mf.GetState()->AddCommand(f); |