Remove warnings
authorAlexander Larsson <alexl@redhat.com>
Wed, 19 Dec 2007 13:18:34 +0000 (13:18 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Wed, 19 Dec 2007 13:18:34 +0000 (13:18 +0000)
2007-12-19  Alexander Larsson  <alexl@redhat.com>

        * giomodule.c:
Remove warnings

svn path=/trunk/; revision=6157

gio/ChangeLog
gio/giomodule.c

index d068a9d..484ef29 100644 (file)
@@ -1,5 +1,10 @@
 2007-12-19  Alexander Larsson  <alexl@redhat.com>
 
+        * giomodule.c:
+       Remove warnings
+
+2007-12-19  Alexander Larsson  <alexl@redhat.com>
+
         * gunionvolumemonitor.c:
        Store the native type as GType, not class so that
        we can unload it. But still avoid unnecessarily
index b87d319..2e0a926 100644 (file)
@@ -109,10 +109,10 @@ g_io_module_load_module (GTypeModule *gmodule)
   /* Make sure that the loaded library contains the required methods */
   if (! g_module_symbol (module->library,
                          "g_io_module_load",
-                         (gpointer *) &module->load) ||
+                         (gpointer) &module->load) ||
       ! g_module_symbol (module->library,
                          "g_io_module_unload",
-                         (gpointer *) &module->unload))
+                         (gpointer) &module->unload))
     {
       g_printerr ("%s\n", g_module_error ());
       g_module_close (module->library);
@@ -235,9 +235,7 @@ void
 _g_io_modules_ensure_loaded (void)
 {
   GList *modules;
-  const char *directory;
   static gboolean loaded_dirs = FALSE;
-
   
   G_LOCK (loaded_dirs);