gint page_total;
};
-static void free_buffer (guchar *pixels, gpointer data)
+static void free_buffer (guchar *pixels, gpointer UNUSED(data))
{
g_free (pixels);
}
}
static tsize_t
-tiff_load_write (thandle_t handle, tdata_t buf, tsize_t size)
+tiff_load_write (thandle_t UNUSED(handle), tdata_t UNUSED(buf), tsize_t UNUSED(size))
{
return -1;
}
}
static int
-tiff_load_close (thandle_t context)
+tiff_load_close (thandle_t UNUSED(context))
{
return 0;
}
}
static void
-tiff_load_unmap_file (thandle_t handle, tdata_t data, toff_t offset)
+tiff_load_unmap_file (thandle_t UNUSED(handle), tdata_t UNUSED(data), toff_t UNUSED(offset))
{
}
-static gboolean image_loader_tiff_load (gpointer loader, const guchar *buf, gsize count, GError **error)
+static gboolean image_loader_tiff_load (gpointer loader, const guchar *buf, gsize count, GError **UNUSED(error))
{
ImageLoaderTiff *lt = (ImageLoaderTiff *) loader;
return lt->pixbuf;
}
-static gchar* image_loader_tiff_get_format_name(gpointer loader)
+static gchar* image_loader_tiff_get_format_name(gpointer UNUSED(loader))
{
return g_strdup("tiff");
}
-static gchar** image_loader_tiff_get_format_mime_types(gpointer loader)
+static gchar** image_loader_tiff_get_format_mime_types(gpointer UNUSED(loader))
{
static gchar *mime[] = {"image/tiff", NULL};
return g_strdupv(mime);
}
-static gboolean image_loader_tiff_close(gpointer loader, GError **error)
+static gboolean image_loader_tiff_close(gpointer UNUSED(loader), GError **UNUSED(error))
{
return TRUE;
}