gegl r2920 - in trunk: . gegl/operation



Author: martinn
Date: Tue Feb 17 06:55:47 2009
New Revision: 2920
URL: http://svn.gnome.org/viewvc/gegl?rev=2920&view=rev

Log:
Remove unused variable in gegl_operation_context_set_object()

Remove the 'operation' local variable in
gegl_operation_context_set_object(), it was unused

Modified:
   trunk/ChangeLog
   trunk/gegl/operation/gegl-operation-context.c

Modified: trunk/gegl/operation/gegl-operation-context.c
==============================================================================
--- trunk/gegl/operation/gegl-operation-context.c	(original)
+++ trunk/gegl/operation/gegl-operation-context.c	Tue Feb 17 06:55:47 2009
@@ -244,15 +244,13 @@
                                    const gchar          *padname,
                                    GObject              *data)
 {
-  GeglOperation *operation;
-  GParamSpec    *pspec;
-  GValue         value = {0,};
+  GParamSpec *pspec;
+  GValue      value = {0, };
 
   /* FIXME: check that there isn't already an existing 
    *        output object/value set?
    */
 
-  operation = context->operation;
   pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (G_OBJECT (context->operation)), padname);
   if (pspec)
   {



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