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