summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-07-28 15:24:31 -0400
committerKen Martin <ken.martin@kitware.com>2005-07-28 15:24:31 -0400
commitad46c80f7a65333600610bbbef49d2644c9f7a48 (patch)
treea1bde45afea9f342d2a7753f56ca901ba48e9821
parent47e22fe04139c3cbf54c2fae71ef6cb0ab97f231 (diff)
downloadcmake-ad46c80f7a65333600610bbbef49d2644c9f7a48.tar.gz
ENH: fix warning
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx6
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 1ccb61ce4b..0918ff921c 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -144,7 +144,7 @@ void cmLocalUnixMakefileGenerator3::FormatOutputPath(std::string& path,
void cmLocalUnixMakefileGenerator3
-::WriteCustomCommands(cmTarget &target,std::ostream& ruleFileStream,
+::WriteCustomCommands(std::ostream& ruleFileStream,
std::vector<std::string>& cleanFiles)
{
// add custom commands to the clean rules?
@@ -358,7 +358,7 @@ cmLocalUnixMakefileGenerator3
{
cmSystemTools::ExpandListArgument(additional_clean_files, cleanFiles);
}
- this->WriteCustomCommands(target,ruleFileStream,cleanFiles);
+ this->WriteCustomCommands(ruleFileStream,cleanFiles);
// Include the rule file for each object.
std::string relPath = this->GetHomeRelativeOutputPath();
@@ -679,7 +679,7 @@ cmLocalUnixMakefileGenerator3
{
cmSystemTools::ExpandListArgument(additional_clean_files, cleanFiles);
}
- this->WriteCustomCommands(target,ruleFileStream, cleanFiles);
+ this->WriteCustomCommands(ruleFileStream, cleanFiles);
// Collect the commands and dependencies.
std::vector<std::string> commands;
diff --git a/Source/cmLocalUnixMakefileGenerator3.h b/Source/cmLocalUnixMakefileGenerator3.h
index b1216a13c2..c77410f71b 100644
--- a/Source/cmLocalUnixMakefileGenerator3.h
+++ b/Source/cmLocalUnixMakefileGenerator3.h
@@ -181,7 +181,7 @@ protected:
// this is responsible for writing all of the rules for all this
// directories custom commands (but not utility targets)
- void WriteCustomCommands(cmTarget &target,std::ostream& os,
+ void WriteCustomCommands(std::ostream& os,
std::vector<std::string>& cleanFiles);
// this method Writes the Directory informaiton files