summaryrefslogtreecommitdiff
path: root/src/cssparser.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-02-06 20:59:46 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-02-06 20:59:46 +0100
commit4c20db174b4d8ccb982a650c4923794497fdf68f (patch)
tree68476e359b990d3b7d8e002671588ddeb55551e6 /src/cssparser.cc
parent448efdf236c5224047250af97238279f8f29a2aa (diff)
remove check
Diffstat (limited to 'src/cssparser.cc')
-rw-r--r--src/cssparser.cc3
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]) {