summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-23 21:43:37 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-21 18:57:26 (GMT)
commit782657db48e0d5f0d33a19ad51678d36ddfa7ad5 (patch)
treef50ec60318de38794369f9c1658c0cbecd07e58d /Source/cmListFileCache.cxx
parenta863c59f70a7556c010990a362e4d13792670148 (diff)
downloadCMake-782657db48e0d5f0d33a19ad51678d36ddfa7ad5.zip
CMake-782657db48e0d5f0d33a19ad51678d36ddfa7ad5.tar.gz
CMake-782657db48e0d5f0d33a19ad51678d36ddfa7ad5.tar.bz2
cmListFileArgument: Remove FilePath member.
It is now unused.
Diffstat (limited to 'Source/cmListFileCache.cxx')
-rw-r--r--Source/cmListFileCache.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx
index ca58314..006ca4c 100644
--- a/Source/cmListFileCache.cxx
+++ b/Source/cmListFileCache.cxx
@@ -234,8 +234,7 @@ bool cmListFile::ParseFile(const char* filename,
{
cmListFileFunction project;
project.Name = "PROJECT";
- cmListFileArgument prj("Project", cmListFileArgument::Unquoted,
- filename, 0);
+ cmListFileArgument prj("Project", cmListFileArgument::Unquoted, 0);
project.Arguments.push_back(prj);
this->Functions.insert(this->Functions.begin(),project);
}
@@ -375,7 +374,7 @@ bool cmListFileParser::ParseFunction(const char* name, long line)
bool cmListFileParser::AddArgument(cmListFileLexer_Token* token,
cmListFileArgument::Delimiter delim)
{
- cmListFileArgument a(token->text, delim, this->FileName, token->line);
+ cmListFileArgument a(token->text, delim, token->line);
this->Function.Arguments.push_back(a);
if(this->Separation == SeparationOkay)
{