From 967bfa9c92b6f9ebad2d001dd7dd1c4a0cea274f Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Wed, 6 Jun 2012 08:08:55 -0700 Subject: [PATCH] Silence compiler warning. --- lex.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lex.ll b/lex.ll index 026b1b48..d999d8bb 100644 --- a/lex.ll +++ b/lex.ll @@ -724,7 +724,7 @@ lStringConst(YYSTYPE *yylval, SourcePos *pos) std::string str; p = strchr(yytext, '"') + 1; while (*p != '\"') { - char cval; + char cval = '\0'; p = lEscapeChar(p, &cval, pos); str.push_back(cval); }