Silence compiler warning.

This commit is contained in:
Matt Pharr
2012-06-06 08:08:55 -07:00
parent 592affb984
commit 967bfa9c92

2
lex.ll
View File

@@ -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);
}