From: Michael Drake Date: Wed, 26 Oct 2016 13:15:28 +0000 (+0100) Subject: Parse: Remove explicit init of gradient state; gets memset anyway. X-Git-Url: http://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=059c01c90f5d3e64287853293097f56b8ca8ec1d;p=libsvgtiny.git Parse: Remove explicit init of gradient state; gets memset anyway. --- 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);