From 5c68b61a9caab3f89031155d129b9498d840e502 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Thu, 23 Jun 2005 12:34:19 -0400 Subject: COMP: fix compiler warnings --- Source/cmMacroCommand.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/cmMacroCommand.cxx b/Source/cmMacroCommand.cxx index 3545ded..49708ea 100644 --- a/Source/cmMacroCommand.cxx +++ b/Source/cmMacroCommand.cxx @@ -112,7 +112,6 @@ bool cmMacroHelperCommand::InvokeInitialPass // declare varuiables for ARGV ARGN but do not compute until needed std::string argvDef; std::string argnDef; - bool argvDefInitialized = false; // save the current definitions of all vars that we will be setting std::string oldARGC; @@ -143,7 +142,7 @@ bool cmMacroHelperCommand::InvokeInitialPass } argvDef += *eit; oldARGVArgs.push_back(std::string()); - sprintf(argvName,"ARGV%i",cnt); + sprintf(argvName,"ARGV%i",static_cast(cnt)); if (m_Makefile->GetDefinition(argvName)) { oldARGVArgs[cnt] = m_Makefile->GetDefinition(argvName); -- cgit v0.12