gegl r2452 - in trunk: . gegl/graph



Author: ok
Date: Sat Jun 14 16:38:42 2008
New Revision: 2452
URL: http://svn.gnome.org/viewvc/gegl?rev=2452&view=rev

Log:
* gegl/graph/gegl-node.c: (set_property): remove change to quieten
gcc, the variable is not used but we need something of it's type, and
what it can be initialized with varies from platform to platform.


Modified:
   trunk/ChangeLog
   trunk/gegl/graph/gegl-node.c

Modified: trunk/gegl/graph/gegl-node.c
==============================================================================
--- trunk/gegl/graph/gegl-node.c	(original)
+++ trunk/gegl/graph/gegl-node.c	Sat Jun 14 16:38:42 2008
@@ -150,7 +150,7 @@
                                    g_param_spec_boolean ("dont-cache",
                                                          "Do not cache",
                                                         "Do not cache the result of this operation, the property is inherithed by children created from a node.",
-                                                        TRUE, 
+                                                        TRUE,
                                                         G_PARAM_READWRITE));
 
 
@@ -303,9 +303,9 @@
       case PROP_OP_CLASS:
         {
           va_list null; /* dummy to pass along, it's not used anyways since
-                         * the preceding argument is NULL
+                         * the preceding argument is NULL, gcc might warn about
+                         * use of uninitialized variable.
                          */
-          null = 0;
           gegl_node_set_op_class (node, g_value_get_string (value), NULL, null);
         }
         break;



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