Remove UNUSED macro
[geeqie.git] / src / image-load-tiff.cc
index c4bcdc8..2148af0 100644 (file)
@@ -54,7 +54,7 @@ struct ImageLoaderTiff {
        gint page_total;
 };
 
-static void free_buffer (guchar *pixels, gpointer UNUSED(data))
+static void free_buffer (guchar *pixels, gpointer)
 {
        g_free (pixels);
 }
@@ -73,7 +73,7 @@ tiff_load_read (thandle_t handle, tdata_t buf, tsize_t size)
 }
 
 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;
 }
@@ -108,7 +108,7 @@ tiff_load_seek (thandle_t handle, toff_t offset, int whence)
 }
 
 static int
-tiff_load_close (thandle_t UNUSED(context))
+tiff_load_close (thandle_t)
 {
        return 0;
 }
@@ -132,11 +132,11 @@ tiff_load_map_file (thandle_t handle, tdata_t *buf, toff_t *size)
 }
 
 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);
 
@@ -352,17 +352,17 @@ static GdkPixbuf* image_loader_tiff_get_pixbuf(gpointer 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;
 }