From 69d87100fd7bc1b8c807a4e86fe20529089c03b6 Mon Sep 17 00:00:00 2001 From: Marcel Greter Date: Mon, 7 Sep 2015 01:23:32 +0200 Subject: [PATCH] Silence gcc/clang extra warnings (false positive) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750 --- src/parser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parser.cpp b/src/parser.cpp index ec206a9606..0040150ca7 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -2161,7 +2161,7 @@ namespace Sass { Lookahead Parser::lookahead_for_selector(const char* start) { // init result struct - Lookahead rv { 0 }; + Lookahead rv = Lookahead(); // get start position const char* p = start ? start : position; // match in one big "regex" @@ -2278,7 +2278,7 @@ namespace Sass { Lookahead Parser::lookahead_for_value(const char* start) { // init result struct - Lookahead rv { 0 }; + Lookahead rv = Lookahead(); // get start position const char* p = start ? start : position; // match in one big "regex"