Skip to content

Commit

Permalink
Merge pull request #1542 from mgreter/build/silence-false-gcc-warnings
Browse files Browse the repository at this point in the history
Silence gcc/clang extra warnings (false positive)
  • Loading branch information
mgreter committed Sep 6, 2015
2 parents db4dfb3 + 69d8710 commit 5b4122d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 5b4122d

Please sign in to comment.