diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-07-26 21:20:11 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-07-26 21:20:11 +0000 |
commit | da47188a8369bb79884d37f3222c8bf8fabb7ea4 (patch) | |
tree | 55ee6e2d99ac2b1751c13a9a03cd402b7c7d5710 /src/parse/properties/font.c | |
parent | c13945dd277f68ee913df42bf83c9cd2ba9f4014 (diff) | |
download | libcss-da47188a8369bb79884d37f3222c8bf8fabb7ea4.tar.gz libcss-da47188a8369bb79884d37f3222c8bf8fabb7ea4.tar.bz2 |
Fix build with GCC 4.6
svn path=/trunk/libcss/; revision=12627
Diffstat (limited to 'src/parse/properties/font.c')
-rw-r--r-- | src/parse/properties/font.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/parse/properties/font.c b/src/parse/properties/font.c index c08d6e6..8d66aec 100644 --- a/src/parse/properties/font.c +++ b/src/parse/properties/font.c @@ -195,9 +195,7 @@ css_error css__parse_font(css_language *c, bool style = true; bool variant = true; bool weight = true; - bool size = true; bool line_height = true; - bool family = true; css_style *style_style; css_style *variant_style; css_style *weight_style; @@ -350,7 +348,6 @@ css_error css__parse_font(css_language *c, error = css__parse_font_size(c, vector, ctx, size_style); if (error != CSS_OK) goto css__parse_font_cleanup; - size = false; consumeWhitespace(vector, ctx); @@ -388,12 +385,6 @@ css_error css__parse_font(css_language *c, error = css__parse_font_family(c, vector, ctx, family_style); if (error != CSS_OK) goto css__parse_font_cleanup; - family = false; - - /* Must have size and family */ - assert(size != true); - assert(family != true); - /* defaults */ if (style) { |