From da47188a8369bb79884d37f3222c8bf8fabb7ea4 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 26 Jul 2011 21:20:11 +0000 Subject: Fix build with GCC 4.6 svn path=/trunk/libcss/; revision=12627 --- src/parse/properties/font.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/parse/properties') 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) { -- cgit v1.2.3