From d0b33916423488132e9c7b0eba67bae6503b30b3 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Wed, 6 Aug 2003 19:19:17 -0400 Subject: ENH: oops, initialize variable --- Source/cmMakefile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 70ca89d..4569ec7 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -2016,7 +2016,7 @@ void cmMakefile::GetListOfMacros(std::string& macros) { StringStringMap::iterator it; macros = ""; - int cc; + int cc = 0; for ( it = m_MacrosMap.begin(); it != m_MacrosMap.end(); ++it ) { if ( cc > 0 ) -- cgit v0.12