From a9dcc7fd47048a25f79f04a0d0a57a81aede617b Mon Sep 17 00:00:00 2001 From: David Cole Date: Wed, 30 Sep 2009 11:41:34 -0400 Subject: Fix warnings in CMake source code. Suppress warnings in Lexer and Parser files that are 'too hard' to fix. --- Source/cmStringCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/cmStringCommand.cxx') diff --git a/Source/cmStringCommand.cxx b/Source/cmStringCommand.cxx index 88d0b23ecc..134f9eabff 100644 --- a/Source/cmStringCommand.cxx +++ b/Source/cmStringCommand.cxx @@ -126,7 +126,7 @@ bool cmStringCommand::HandleAsciiCommand(std::vector const& args) else { std::string error = "Character with code "; - error += ch; + error += args[cc]; error += " does not exist."; this->SetError(error.c_str()); return false; -- cgit v1.2.1