warning fixes
This commit is contained in:
parent
12d99416c1
commit
0b3b21fa63
|
@ -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)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue