Silence compiler warning.
This commit is contained in:
2
lex.ll
2
lex.ll
@@ -724,7 +724,7 @@ lStringConst(YYSTYPE *yylval, SourcePos *pos)
|
|||||||
std::string str;
|
std::string str;
|
||||||
p = strchr(yytext, '"') + 1;
|
p = strchr(yytext, '"') + 1;
|
||||||
while (*p != '\"') {
|
while (*p != '\"') {
|
||||||
char cval;
|
char cval = '\0';
|
||||||
p = lEscapeChar(p, &cval, pos);
|
p = lEscapeChar(p, &cval, pos);
|
||||||
str.push_back(cval);
|
str.push_back(cval);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user