fix compiler warning
This commit is contained in:
parent
9958d2b821
commit
d8ea72895a
@ -228,6 +228,7 @@ readslide_new( const char *filename, VipsImage *out,
|
||||
const char *error;
|
||||
const char *background;
|
||||
const char * const *properties;
|
||||
char *associated_names;
|
||||
|
||||
if( level &&
|
||||
associated ) {
|
||||
@ -377,10 +378,11 @@ readslide_new( const char *filename, VipsImage *out,
|
||||
openslide_get_property_value( rslide->osr,
|
||||
*properties ) );
|
||||
|
||||
associated = g_strjoinv( ", ", (char **)
|
||||
associated_names = g_strjoinv( ", ", (char **)
|
||||
openslide_get_associated_image_names( rslide->osr ) );
|
||||
vips_image_set_string( out, "slide-associated-images", associated );
|
||||
VIPS_FREE( associated );
|
||||
vips_image_set_string( out,
|
||||
"slide-associated-images", associated_names );
|
||||
VIPS_FREE( associated_names );
|
||||
|
||||
return( rslide );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user