summaryrefslogtreecommitdiff
path: root/Source/cmFindPackageCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-18 14:50:31 +0200
committerStephen Kelly <steveire@gmail.com>2015-04-18 15:29:17 +0200
commit5bb4248a807029053156dbf4a3cdba4427766306 (patch)
tree90439f898a63d61351f1fb5b72346382f272ce82 /Source/cmFindPackageCommand.cxx
parentfc7ab8874b0e5c2c010fb73718ae8702b8853ca0 (diff)
downloadcmake-5bb4248a807029053156dbf4a3cdba4427766306.tar.gz
cmMakefile: Remove fullPath parameter from ReadListFile.
There is no reason for this to be a responsibility of ReadListFile. Additionally, the only user of it already computes it itself.
Diffstat (limited to 'Source/cmFindPackageCommand.cxx')
-rw-r--r--Source/cmFindPackageCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx
index e1074b0ef2..af99b1c32f 100644
--- a/Source/cmFindPackageCommand.cxx
+++ b/Source/cmFindPackageCommand.cxx
@@ -999,7 +999,7 @@ bool cmFindPackageCommand::FindAppBundleConfig()
//----------------------------------------------------------------------------
bool cmFindPackageCommand::ReadListFile(const char* f, PolicyScopeRule psr)
{
- if(this->Makefile->ReadListFile(this->Makefile->GetCurrentListFile(), f, 0,
+ if(this->Makefile->ReadListFile(this->Makefile->GetCurrentListFile(), f,
!this->PolicyScope || psr == NoPolicyScope))
{
return true;