}
};
-static void free_buffer(guchar *pixels, gpointer data)
+static void free_buffer(guchar *pixels, gpointer UNUSED(data))
{
g_free(pixels);
}
-static gboolean image_loader_zxscr_load(gpointer loader, const guchar *buf, gsize count, GError **error)
+static gboolean image_loader_zxscr_load(gpointer loader, const guchar *buf, gsize count, GError **UNUSED(error))
{
ImageLoaderZXSCR *ld = (ImageLoaderZXSCR *) loader;
guint8 *pixels;
return ld->pixbuf;
}
-static gchar *image_loader_zxscr_get_format_name(gpointer loader)
+static gchar *image_loader_zxscr_get_format_name(gpointer UNUSED(loader))
{
return g_strdup("zxscr");
}
-static gchar **image_loader_zxscr_get_format_mime_types(gpointer loader)
+static gchar **image_loader_zxscr_get_format_mime_types(gpointer UNUSED(loader))
{
static gchar *mime[] = {"application/octet-stream", NULL};
return g_strdupv(mime);
}
-static gboolean image_loader_zxscr_close(gpointer loader, GError **error)
+static gboolean image_loader_zxscr_close(gpointer UNUSED(loader), GError **UNUSED(error))
{
return TRUE;
}