--- glib-genmarshal.c.old	2006-10-03 02:30:04.078271000 +0200
+++ glib-genmarshal.c	2006-10-03 02:30:43.464732500 +0200
@@ -360,10 +360,10 @@ generate_marshal (const gchar *signame,
       ind += g_fprintf (fout, "void ");
       ind += g_fprintf (fout, "%s_%s (", marshaller_prefix, signame);
       g_fprintf (fout,   "GClosure     *closure,\n");
-      g_fprintf (fout, "%sGValue       *return_value,\n", indent (ind));
+      g_fprintf (fout, "%sGValue       *return_value G_GNUC_UNUSED,\n", indent (ind));
       g_fprintf (fout, "%sguint         n_param_values,\n", indent (ind));
       g_fprintf (fout, "%sconst GValue *param_values,\n", indent (ind));
-      g_fprintf (fout, "%sgpointer      invocation_hint,\n", indent (ind));
+      g_fprintf (fout, "%sgpointer      invocation_hint G_GNUC_UNUSED,\n", indent (ind));
       g_fprintf (fout, "%sgpointer      marshal_data);\n",
                  indent (ind));
     }
