diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-10-12 16:17:43 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-10-12 16:17:43 +0200 |
commit | ffd0a70e4d0ca24934877d40189d6881d227ccb6 (patch) | |
tree | f61ec583ff2cb5ff8a18a8ba0ea2b8ab1b81047e | |
parent | d72708a39f2c95cd54c6c41cb642cda55cb8f487 (diff) | |
download | mupdf-ffd0a70e4d0ca24934877d40189d6881d227ccb6.tar.xz |
css: Remove unused variables.
-rw-r--r-- | source/html/css-apply.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/html/css-apply.c b/source/html/css-apply.c index 03e61a87..c7b4d545 100644 --- a/source/html/css-apply.c +++ b/source/html/css-apply.c @@ -626,7 +626,7 @@ fz_match_css(fz_context *ctx, fz_css_match *match, fz_css *css, fz_xml *node) { fz_css_rule *rule; fz_css_selector *sel; - fz_css_property *prop, *head, *tail; + fz_css_property *prop; const char *s; for (rule = css->rule; rule; rule = rule->next) @@ -649,11 +649,10 @@ fz_match_css(fz_context *ctx, fz_css_match *match, fz_css *css, fz_xml *node) { fz_try(ctx) { - head = tail = prop = fz_parse_css_properties(ctx, css->pool, s); + prop = fz_parse_css_properties(ctx, css->pool, s); while (prop) { add_property(match, prop->name, prop->value, INLINE_SPECIFICITY); - tail = prop; prop = prop->next; } /* We can "leak" the property here, since it is freed along with the pool allocator. */ |