diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-06 20:59:46 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-06 20:59:46 +0100 |
commit | 4c20db174b4d8ccb982a650c4923794497fdf68f (patch) | |
tree | 68476e359b990d3b7d8e002671588ddeb55551e6 /src/cssparser.cc | |
parent | 448efdf236c5224047250af97238279f8f29a2aa (diff) |
remove check
Diffstat (limited to 'src/cssparser.cc')
-rw-r--r-- | src/cssparser.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cssparser.cc b/src/cssparser.cc index fbe23f95..b7923c07 100644 --- a/src/cssparser.cc +++ b/src/cssparser.cc @@ -554,8 +554,7 @@ static bool Css_token_matches_property(CssParser * parser, int i, err = 1; for (int j = 0; Css_property_info[prop].type[j] != CSS_TYPE_UNUSED; j++) { - if (type) - *type = Css_property_info[prop].type[j]; + *type = Css_property_info[prop].type[j]; switch (Css_property_info[prop].type[j]) { |