WAR: fix warning

This commit is contained in:
Bill Hoffman 2001-11-21 08:47:10 -05:00
parent f7fae15d39
commit 6156928549
2 changed files with 1 additions and 2 deletions

View File

@ -119,7 +119,6 @@ bool cmQTWrapUICommand::InitialPass(std::vector<std::string> const& args)
m_WrapHeadersClasses.push_back(header_file); m_WrapHeadersClasses.push_back(header_file);
m_WrapSourcesClasses.push_back(source_file); m_WrapSourcesClasses.push_back(source_file);
m_WrapMocClasses.push_back(moc_file); m_WrapMocClasses.push_back(moc_file);
unsigned int last_files=m_WrapSourcesClasses.size()-1;
m_Makefile->AddSource(header_file, m_Makefile->AddSource(header_file,
m_HeaderList.c_str()); m_HeaderList.c_str());
m_Makefile->AddSource(source_file, m_Makefile->AddSource(source_file,

View File

@ -63,7 +63,7 @@ void cmVariableRequiresCommand::FinalPass()
std::string resultVarible = m_Arguments[1]; std::string resultVarible = m_Arguments[1];
bool requirementsMet = true; bool requirementsMet = true;
std::string notSet; std::string notSet;
for(int i = 2; i < m_Arguments.size(); ++i) for(unsigned int i = 2; i < m_Arguments.size(); ++i)
{ {
if(!m_Makefile->IsOn(m_Arguments[i].c_str())) if(!m_Makefile->IsOn(m_Arguments[i].c_str()))
{ {