gegl r2648 - in trunk: . bin operations/external



Author: samh
Date: Mon Oct 20 13:22:40 2008
New Revision: 2648
URL: http://svn.gnome.org/viewvc/gegl?rev=2648&view=rev

Log:
* operations/external/openraw.c: (gegl_chant_class_init): don't
declare variables after code blocks.
* bin/gegl-spiro.c: (gegl_vector_spiro_flatten): remove unused
variable.

Modified:
   trunk/ChangeLog
   trunk/bin/gegl-spiro.c
   trunk/operations/external/openraw.c

Modified: trunk/bin/gegl-spiro.c
==============================================================================
--- trunk/bin/gegl-spiro.c	(original)
+++ trunk/bin/gegl-spiro.c	Mon Oct 20 13:22:40 2008
@@ -66,7 +66,6 @@
 
 static GeglVectorPath *gegl_vector_spiro_flatten (GeglVectorPath *original)
 {
-  GeglVectorPath *ret;
   GeglVectorPath *iter;
   spiro_cp *points;
   gboolean is_spiro = TRUE;
@@ -304,4 +303,4 @@
 
   gegl_vector_add_flattener (gegl_vector_spiro_flatten);
   gegl_vector_add_flattener (gegl_vector_spiro_flatten2);
-}
\ No newline at end of file
+}

Modified: trunk/operations/external/openraw.c
==============================================================================
--- trunk/operations/external/openraw.c	(original)
+++ trunk/operations/external/openraw.c	Mon Oct 20 13:22:40 2008
@@ -165,6 +165,8 @@
 static void
 gegl_chant_class_init (GeglChantClass *klass)
 {
+  static gboolean done = FALSE;
+
   GeglOperationClass       *operation_class;
   GeglOperationSourceClass *source_class;
 
@@ -178,7 +180,6 @@
   operation_class->categories  = "hidden";
   operation_class->description = "Camera RAW image loader";
 
-  static gboolean done=FALSE;
   if (done)
     return;
 



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