ENH: remove warnings
This commit is contained in:
parent
55af104169
commit
56f960296f
|
@ -71,8 +71,7 @@ bool cmGetTargetPropertyCommand::InitialPass(
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
const char *prop = 0;
|
const char *prop = target.GetProperty(args[2].c_str());
|
||||||
prop = target.GetProperty(args[2].c_str());
|
|
||||||
if (prop)
|
if (prop)
|
||||||
{
|
{
|
||||||
m_Makefile->AddDefinition(var, prop);
|
m_Makefile->AddDefinition(var, prop);
|
||||||
|
|
|
@ -3081,7 +3081,7 @@ cmLocalUnixMakefileGenerator::CreateSafeUniqueObjectFileName(const char* sin)
|
||||||
if ( it == m_UniqueObjectNamesMap.end() )
|
if ( it == m_UniqueObjectNamesMap.end() )
|
||||||
{
|
{
|
||||||
std::string ssin = sin;
|
std::string ssin = sin;
|
||||||
bool done = false;
|
bool done;
|
||||||
int cc = 0;
|
int cc = 0;
|
||||||
char rpstr[100];
|
char rpstr[100];
|
||||||
sprintf(rpstr, "_p_");
|
sprintf(rpstr, "_p_");
|
||||||
|
|
Loading…
Reference in New Issue