[librsvg] path: Initialize variable



commit d8ed521cc3e7740a1bf04646dd8074f23e5e630c
Author: Benjamin Otte <otte redhat com>
Date:   Fri Nov 6 00:20:41 2015 +0100

    path: Initialize variable

 rsvg-path.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/rsvg-path.c b/rsvg-path.c
index 954f9f8..ee32ee6 100644
--- a/rsvg-path.c
+++ b/rsvg-path.c
@@ -742,6 +742,8 @@ rsvg_parse_path (const char *path_str)
 
     ctx.cp.point.x = 0.0;
     ctx.cp.point.y = 0.0;
+    ctx.rp.point.x = 0.0;
+    ctx.rp.point.y = 0.0;
     ctx.cmd = 0;
     ctx.param = 0;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]