Skip to content

Commit

Permalink
Fix possible null pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
xzyfer committed Feb 18, 2017
1 parent 643e253 commit bf159b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2081,7 +2081,7 @@ namespace Sass {
error("\"" + str_sel + "\" failed to @extend \"" + str_ext + "\".\n"
"The selector \"" + str_ext + "\" was not found.\n"
"Use \"@extend " + str_ext + " !optional\" if the"
" extend should be able to fail.", ext->pstate());
" extend should be able to fail.", (ext ? ext->pstate() : NULL));
}
}

Expand Down

0 comments on commit bf159b1

Please sign in to comment.