diff options
author | Ken Martin <ken.martin@kitware.com> | 2003-06-03 18:55:20 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2003-06-03 18:55:20 (GMT) |
commit | 0b3b21fa63ed137a3fa534c379b2995583c40e24 (patch) | |
tree | 61705c05b2650de91dadbb6a67cc93574ef71d5c | |
parent | 12d99416c194f3c8d1f2f321213506514d0616c8 (diff) | |
download | CMake-0b3b21fa63ed137a3fa534c379b2995583c40e24.zip CMake-0b3b21fa63ed137a3fa534c379b2995583c40e24.tar.gz CMake-0b3b21fa63ed137a3fa534c379b2995583c40e24.tar.bz2 |
warning fixes
-rw-r--r-- | Source/cmCustomCommand.cxx | 4 | ||||
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator.cxx | 6 | ||||
-rw-r--r-- | Source/cmMakefile.cxx | 1 | ||||
-rw-r--r-- | Source/cmSourceGroup.cxx | 2 |
4 files changed, 6 insertions, 7 deletions
diff --git a/Source/cmCustomCommand.cxx b/Source/cmCustomCommand.cxx index 378505e..5facc4c 100644 --- a/Source/cmCustomCommand.cxx +++ b/Source/cmCustomCommand.cxx @@ -48,8 +48,8 @@ cmCustomCommand::cmCustomCommand(const cmCustomCommand& r): m_Command(r.m_Command), m_Arguments(r.m_Arguments), m_Comment(r.m_Comment), - m_Depends(r.m_Depends), - m_Output(r.m_Output) + m_Output(r.m_Output), + m_Depends(r.m_Depends) { } diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx index 7b25c72..33d5572 100644 --- a/Source/cmLocalUnixMakefileGenerator.cxx +++ b/Source/cmLocalUnixMakefileGenerator.cxx @@ -679,7 +679,7 @@ void cmLocalUnixMakefileGenerator::OutputLinkLibraries(std::ostream& fout, } std::string cmLocalUnixMakefileGenerator::CreatePreBuildRules( - const cmTarget &target, const char* targetName) + const cmTarget &target, const char* /* targetName */) { std::string customRuleCode = ""; bool initNext = false; @@ -704,7 +704,7 @@ std::string cmLocalUnixMakefileGenerator::CreatePreBuildRules( } std::string cmLocalUnixMakefileGenerator::CreatePreLinkRules( - const cmTarget &target, const char* targetName) + const cmTarget &target, const char* /* targetName */) { std::string customRuleCode = ""; bool initNext = false; @@ -729,7 +729,7 @@ std::string cmLocalUnixMakefileGenerator::CreatePreLinkRules( } std::string cmLocalUnixMakefileGenerator::CreatePostBuildRules( - const cmTarget &target, const char* targetName) + const cmTarget &target, const char* /* targetName */) { std::string customRuleCode = ""; bool initNext = false; diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 661841b..337f50a 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1663,7 +1663,6 @@ cmSourceFile* cmMakefile::GetOrCreateSource(const char* sourceName, { cmSystemTools::Error( "CMake failed to properly look up cmSourceFile: ", sourceName); - int i = *(int *)0x0; } return ret; } diff --git a/Source/cmSourceGroup.cxx b/Source/cmSourceGroup.cxx index 8815e30..706547d 100644 --- a/Source/cmSourceGroup.cxx +++ b/Source/cmSourceGroup.cxx @@ -50,7 +50,7 @@ bool cmSourceGroup::Matches(const char* name) /** * Add a source to the group that the compiler will know how to build. */ -void cmSourceGroup::AddSource(const char* name, const cmSourceFile* sf) +void cmSourceGroup::AddSource(const char* /* name */, const cmSourceFile* sf) { m_SourceFiles.push_back(sf); } |