summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-08-13 09:21:54 (GMT)
committer Michael Drake <michael.drake@codethink.co.uk>2016-08-13 09:21:54 (GMT)
commit02c8e3ceb1eae515a259d447b4579a9eb68c7a30 (patch)
treee5befc4d256f453e5c80ff853675bf2fe78fd466
parentbced7d7b4b6575bf0741270f8c86e93ab1ea6d7a (diff)
downloadlibcss-02c8e3ceb1eae515a259d447b4579a9eb68c7a30.tar.gz
libcss-02c8e3ceb1eae515a259d447b4579a9eb68c7a30.tar.bz2
Parse: Squash coverity #1361552: Unused value
-rw-r--r--src/parse/properties/font.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/parse/properties/font.c b/src/parse/properties/font.c
index 8d66aec..2cdb488 100644
--- a/src/parse/properties/font.c
+++ b/src/parse/properties/font.c
@@ -160,9 +160,10 @@ static css_error parse_system_font(css_language *c,
return error;
error = css__stylesheet_style_append(result, snumber);
- if (error != CSS_OK)
- return error;
}
+ if (error != CSS_OK)
+ return error;
+
error = css__stylesheet_style_append(result, FONT_FAMILY_END);
return error;