summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2012-02-05 01:48:01 (GMT)
committerPeter Collingbourne <peter@pcc.me.uk>2012-02-05 01:48:01 (GMT)
commitbfe56f6802fc7db7f8e824aab8881be6cf23ccef (patch)
tree2cba739f1ef62f289ab3084d5e56cbfb2ca5ab73
parent69984906ef41ed9549d4acd75590c67030281df9 (diff)
downloadCMake-bfe56f6802fc7db7f8e824aab8881be6cf23ccef.zip
CMake-bfe56f6802fc7db7f8e824aab8881be6cf23ccef.tar.gz
CMake-bfe56f6802fc7db7f8e824aab8881be6cf23ccef.tar.bz2
Ninja: Remove some default arguments
-rw-r--r--Source/cmGlobalNinjaGenerator.cxx5
-rw-r--r--Source/cmNinjaUtilityTargetGenerator.cxx5
2 files changed, 2 insertions, 8 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx
index 24900c5..8b633bf 100644
--- a/Source/cmGlobalNinjaGenerator.cxx
+++ b/Source/cmGlobalNinjaGenerator.cxx
@@ -767,8 +767,5 @@ void cmGlobalNinjaGenerator::WriteTargetRebuildManifest(std::ostream& os)
WritePhonyBuild(os,
"A missing CMake input file is not an error.",
implicitDeps,
- cmNinjaDeps(),
- cmNinjaDeps(),
- cmNinjaDeps(),
- cmNinjaVars());
+ cmNinjaDeps());
}
diff --git a/Source/cmNinjaUtilityTargetGenerator.cxx b/Source/cmNinjaUtilityTargetGenerator.cxx
index 0a15834..bfe6f07 100644
--- a/Source/cmNinjaUtilityTargetGenerator.cxx
+++ b/Source/cmNinjaUtilityTargetGenerator.cxx
@@ -88,10 +88,7 @@ void cmNinjaUtilityTargetGenerator::Generate()
cmGlobalNinjaGenerator::WritePhonyBuild(this->GetBuildFileStream(),
"",
outputs,
- cmNinjaDeps(1, utilCommandName),
- cmNinjaDeps(),
- cmNinjaDeps(),
- cmNinjaVars());
+ cmNinjaDeps(1, utilCommandName));
}
this->GetGlobalGenerator()->AddTargetAlias(this->GetTargetName(),