Skip to content

Commit 5b4122d

Browse files
committed
Merge pull request #1542 from mgreter/build/silence-false-gcc-warnings
Silence gcc/clang extra warnings (false positive)
2 parents db4dfb3 + 69d8710 commit 5b4122d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/parser.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2161,7 +2161,7 @@ namespace Sass {
21612161
Lookahead Parser::lookahead_for_selector(const char* start)
21622162
{
21632163
// init result struct
2164-
Lookahead rv { 0 };
2164+
Lookahead rv = Lookahead();
21652165
// get start position
21662166
const char* p = start ? start : position;
21672167
// match in one big "regex"
@@ -2278,7 +2278,7 @@ namespace Sass {
22782278
Lookahead Parser::lookahead_for_value(const char* start)
22792279
{
22802280
// init result struct
2281-
Lookahead rv { 0 };
2281+
Lookahead rv = Lookahead();
22822282
// get start position
22832283
const char* p = start ? start : position;
22842284
// match in one big "regex"

0 commit comments

Comments
 (0)