fix a compiler warning

This commit is contained in:
John Cupitt 2022-11-21 16:53:15 +00:00
parent e3289ad2c1
commit 5947f6ed11
1 changed files with 1 additions and 2 deletions

View File

@ -489,8 +489,7 @@ parse_header( Read *read )
/* Something like "BMP".
*/
if( read->image->magick &&
strlen( read->image->magick ) > 0 )
if( strlen( read->image->magick ) > 0 )
vips_image_set_string( im, "magick-format",
read->image->magick );