summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2016-10-26 13:15:28 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2016-10-26 13:15:28 (GMT)
commit059c01c90f5d3e64287853293097f56b8ca8ec1d (patch)
tree07f35ff915d17ad5ca2de5a484e463f206d6c4c5
parent28ef4f0a47dcb9e257ce3b6f088d3ae09d65c2b5 (diff)
downloadlibsvgtiny-059c01c90f5d3e64287853293097f56b8ca8ec1d.tar.gz
libsvgtiny-059c01c90f5d3e64287853293097f56b8ca8ec1d.tar.bz2
Parse: Remove explicit init of gradient state; gets memset anyway.
-rw-r--r--src/svgtiny.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/svgtiny.c b/src/svgtiny.c
index bd9aeaa..ec15b35 100644
--- a/src/svgtiny.c
+++ b/src/svgtiny.c
@@ -152,11 +152,6 @@ svgtiny_code svgtiny_parse(struct svgtiny_diagram *diagram,
UNUSED(url);
- state.gradient_x1 = NULL;
- state.gradient_y1 = NULL;
- state.gradient_x2 = NULL;
- state.gradient_y2 = NULL;
-
parser = dom_xml_parser_create(NULL, NULL,
ignore_msg, NULL, &document);