[gegl] Use values instead of uninitialized variables



commit ca35702d60cd413cd8099604b751cde0182c1abf
Author: Mukund Sivaraman <muks banu com>
Date:   Fri Jun 25 03:18:01 2010 +0530

    Use values instead of uninitialized variables

 gegl/property-types/gegl-path.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/property-types/gegl-path.c b/gegl/property-types/gegl-path.c
index bf514ca..b4e9015 100644
--- a/gegl/property-types/gegl-path.c
+++ b/gegl/property-types/gegl-path.c
@@ -1247,7 +1247,7 @@ void gegl_path_parse_string (GeglPath *vector,
               switch (info->n_items)
                 {
                   case 0:
-                    priv->path = gegl_path_list_append (priv->path, type, x0, y0);
+                    priv->path = gegl_path_list_append (priv->path, type, 0., 0.);
                     /* coordinates are ignored, all of these could have used add3)*/
                     break;
                   case 2:



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