ENH: oops, initialize variable

This commit is contained in:
Andy Cedilnik 2003-08-06 19:19:17 -04:00
parent 96d561aabc
commit d0b3391642
1 changed files with 1 additions and 1 deletions

View File

@ -2016,7 +2016,7 @@ void cmMakefile::GetListOfMacros(std::string& macros)
{ {
StringStringMap::iterator it; StringStringMap::iterator it;
macros = ""; macros = "";
int cc; int cc = 0;
for ( it = m_MacrosMap.begin(); it != m_MacrosMap.end(); ++it ) for ( it = m_MacrosMap.begin(); it != m_MacrosMap.end(); ++it )
{ {
if ( cc > 0 ) if ( cc > 0 )