warning fixes

This commit is contained in:
Ken Martin 2003-06-03 14:55:20 -04:00
parent 12d99416c1
commit 0b3b21fa63
4 changed files with 6 additions and 7 deletions

View File

@ -48,8 +48,8 @@ cmCustomCommand::cmCustomCommand(const cmCustomCommand& r):
m_Command(r.m_Command), m_Command(r.m_Command),
m_Arguments(r.m_Arguments), m_Arguments(r.m_Arguments),
m_Comment(r.m_Comment), 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)
{ {
} }

View File

@ -679,7 +679,7 @@ void cmLocalUnixMakefileGenerator::OutputLinkLibraries(std::ostream& fout,
} }
std::string cmLocalUnixMakefileGenerator::CreatePreBuildRules( std::string cmLocalUnixMakefileGenerator::CreatePreBuildRules(
const cmTarget &target, const char* targetName) const cmTarget &target, const char* /* targetName */)
{ {
std::string customRuleCode = ""; std::string customRuleCode = "";
bool initNext = false; bool initNext = false;
@ -704,7 +704,7 @@ std::string cmLocalUnixMakefileGenerator::CreatePreBuildRules(
} }
std::string cmLocalUnixMakefileGenerator::CreatePreLinkRules( std::string cmLocalUnixMakefileGenerator::CreatePreLinkRules(
const cmTarget &target, const char* targetName) const cmTarget &target, const char* /* targetName */)
{ {
std::string customRuleCode = ""; std::string customRuleCode = "";
bool initNext = false; bool initNext = false;
@ -729,7 +729,7 @@ std::string cmLocalUnixMakefileGenerator::CreatePreLinkRules(
} }
std::string cmLocalUnixMakefileGenerator::CreatePostBuildRules( std::string cmLocalUnixMakefileGenerator::CreatePostBuildRules(
const cmTarget &target, const char* targetName) const cmTarget &target, const char* /* targetName */)
{ {
std::string customRuleCode = ""; std::string customRuleCode = "";
bool initNext = false; bool initNext = false;

View File

@ -1663,7 +1663,6 @@ cmSourceFile* cmMakefile::GetOrCreateSource(const char* sourceName,
{ {
cmSystemTools::Error( cmSystemTools::Error(
"CMake failed to properly look up cmSourceFile: ", sourceName); "CMake failed to properly look up cmSourceFile: ", sourceName);
int i = *(int *)0x0;
} }
return ret; return ret;
} }

View File

@ -50,7 +50,7 @@ bool cmSourceGroup::Matches(const char* name)
/** /**
* Add a source to the group that the compiler will know how to build. * 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); m_SourceFiles.push_back(sf);
} }