From 059c01c90f5d3e64287853293097f56b8ca8ec1d Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 26 Oct 2016 14:15:28 +0100 Subject: [PATCH] Parse: Remove explicit init of gradient state; gets memset anyway. --- src/svgtiny.c | 5 ----- 1 file changed, 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); -- 2.43.2