[lasem] svg: suppress a unused warning for some compilers.



commit 13027b5e329d0bbb6dc96f1b2f82937f51f8c128
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Thu Apr 15 13:59:38 2010 +0200

    svg: suppress a unused warning for some compilers.

 src/lsmsvgview.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/lsmsvgview.c b/src/lsmsvgview.c
index 4b3482c..454e38f 100644
--- a/src/lsmsvgview.c
+++ b/src/lsmsvgview.c
@@ -907,7 +907,8 @@ paint (LsmSvgView *view)
 		cairo_path_data_t *next_data;
 		double stroke_width;
 		double prev_x, prev_y;
-		double x, y;
+		double x = 0;
+		double y = 0;
 		double next_x, next_y;
 		cairo_path_data_type_t type;
 		cairo_path_data_type_t next_type;



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