Browse Source

ENH: remove warnings

pull/1/head
Bill Hoffman 22 years ago
parent
commit
56f960296f
  1. 3
      Source/cmGetTargetPropertyCommand.cxx
  2. 2
      Source/cmLocalUnixMakefileGenerator.cxx

3
Source/cmGetTargetPropertyCommand.cxx

@ -71,8 +71,7 @@ bool cmGetTargetPropertyCommand::InitialPass(
}
else
{
const char *prop = 0;
prop = target.GetProperty(args[2].c_str());
const char *prop = target.GetProperty(args[2].c_str());
if (prop)
{
m_Makefile->AddDefinition(var, prop);

2
Source/cmLocalUnixMakefileGenerator.cxx

@ -3081,7 +3081,7 @@ cmLocalUnixMakefileGenerator::CreateSafeUniqueObjectFileName(const char* sin)
if ( it == m_UniqueObjectNamesMap.end() )
{
std::string ssin = sin;
bool done = false;
bool done;
int cc = 0;
char rpstr[100];
sprintf(rpstr, "_p_");

Loading…
Cancel
Save