changeset 915:b9709589263f

remove check
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Fri, 06 Feb 2009 20:59:46 +0100
parents 81370e1971df
children 6ab291295a2d
files src/cssparser.cc
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/cssparser.cc	Fri Feb 06 20:59:22 2009 +0100
+++ b/src/cssparser.cc	Fri Feb 06 20:59:46 2009 +0100
@@ -554,8 +554,7 @@
    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]) {