Skip to content
Snippets Groups Projects
Commit b124ecc3 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

fix uninitialized variable

parent cd03e799
No related branches found
No related tags found
No related merge requests found
......@@ -271,8 +271,8 @@ void Parser::result ( std::shared_ptr < StatementList > & list ) {
}
 
std::pair < bool, bool > Parser::introspect_cast_from_to ( ) {
bool from;
bool to;
bool from = false;
bool to = false;
while ( check ( cli::Lexer::TokenType::COLON_SIGN ) ) {
match ( cli::Lexer::TokenType::COLON_SIGN );
if ( check_nonreserved_kw ( "from" ) ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment