fix build with jp2k debug enabled

This commit is contained in:
John Cupitt 2021-06-22 14:15:05 +01:00
parent 6804ff61df
commit 5f28f67d4c
1 changed files with 2 additions and 4 deletions

View File

@ -182,17 +182,15 @@ static void
vips_foreign_save_jp2k_warning_callback( const char *msg, void *client )
{
#ifdef DEBUG
g_warning( "jp2ksave: %s", class->nickname, msg );
g_warning( "jp2ksave: %s", msg );
#endif /*DEBUG*/
}
/* The openjpeg info and warning callbacks are incredibly chatty.
*/
static void
vips_foreign_save_jp2k_info_callback( const char *msg, void *client )
{
#ifdef DEBUG
g_info( "jp2ksave: %s", class->nickname, msg );
g_info( "jp2ksave: %s", msg );
#endif /*DEBUG*/
}