summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-07-28 19:24:31 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-07-28 19:24:31 (GMT)
commitad46c80f7a65333600610bbbef49d2644c9f7a48 (patch)
treea1bde45afea9f342d2a7753f56ca901ba48e9821 /Source
parent47e22fe04139c3cbf54c2fae71ef6cb0ab97f231 (diff)
downloadCMake-ad46c80f7a65333600610bbbef49d2644c9f7a48.zip
CMake-ad46c80f7a65333600610bbbef49d2644c9f7a48.tar.gz
CMake-ad46c80f7a65333600610bbbef49d2644c9f7a48.tar.bz2
ENH: fix warning
Diffstat (limited to 'Source')
-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 1ccb61c..0918ff9 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 b1216a1..c77410f 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