Commit a1f8e76c authored by Øyvind Kolås's avatar Øyvind Kolås

warning cleanup

parent c8e6b60a
2006-09-02 Øyvind Kolås <pippin@gimp.org>
* gegl/gegl-extension-handler.c: (gegl_extension_handler_register):
removed unused variable old.
* gegl/gegl-prepare-visitor.c: (visit_node): added a const to a
gchar* declaration.
2006-09-02 Øyvind Kolås <pippin@gimp.org>
* gegl/gegl-extension-handler.h: do not include config.h
......
......@@ -27,7 +27,6 @@ void
gegl_extension_handler_register (const gchar *extension,
const gchar *handler)
{
const gchar *old;
if (!handlers)
handlers = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
g_hash_table_insert (handlers, g_strdup (extension), g_strdup (handler));
......
......@@ -19,7 +19,7 @@
*/
#include "config.h"
#include <string.h>
#include <glib-object.h>
#include "gegl-types.h"
......@@ -63,7 +63,7 @@ visit_node (GeglVisitor *self,
* should be set now).
*/
{
gchar *name = gegl_object_get_name (GEGL_OBJECT (node));
const gchar *name = gegl_object_get_name (GEGL_OBJECT (node));
if (name && !strcmp (name, "proxynop-output"))
{
GeglGraph *graph = g_object_get_data (G_OBJECT (node), "graph");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment