From b372fde6376d80b8d5c92fa8525d56907ba7fd97 Mon Sep 17 00:00:00 2001 From: Kyle Schwarz Date: Sun, 2 Aug 2020 11:04:10 -0400 Subject: [PATCH] Add parameter name for unused image --- libvips/include/vips/image.h | 2 +- libvips/iofuncs/image.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libvips/include/vips/image.h b/libvips/include/vips/image.h index b0d97592..60d1562c 100644 --- a/libvips/include/vips/image.h +++ b/libvips/include/vips/image.h @@ -522,7 +522,7 @@ int vips_reorder_prepare_many( VipsImage *image, struct _VipsRegion **regions, VipsRect *r ); void vips_reorder_margin_hint( VipsImage *image, int margin ); -void vips_image_free_buffer( VipsImage *, void *buffer ); +void vips_image_free_buffer( VipsImage *image, void *buffer ); #ifdef __cplusplus } diff --git a/libvips/iofuncs/image.c b/libvips/iofuncs/image.c index 24c95f13..893768a7 100644 --- a/libvips/iofuncs/image.c +++ b/libvips/iofuncs/image.c @@ -3881,7 +3881,7 @@ vips_band_format_iscomplex( VipsBandFormat format ) * is intened to be used with g_signal_connect. */ void -vips_image_free_buffer( VipsImage *, void *buffer ) +vips_image_free_buffer( VipsImage *image, void *buffer ) { free( buffer ); }