fix a compiler warning
This commit is contained in:
parent
8c4486327e
commit
9589a51f09
@ -685,6 +685,10 @@ vips_thumbnail_build( VipsObject *object )
|
||||
in = t[12];
|
||||
}
|
||||
|
||||
/* Note the interpretation we will revert to after linear.
|
||||
*/
|
||||
input_interpretation = in->Type;
|
||||
|
||||
/* In linear mode, we need to transform to a linear space before
|
||||
* vips_resize().
|
||||
*/
|
||||
@ -719,11 +723,6 @@ vips_thumbnail_build( VipsObject *object )
|
||||
*/
|
||||
VipsInterpretation interpretation;
|
||||
|
||||
/* Note the interpretation we will revert to after
|
||||
* linear.
|
||||
*/
|
||||
input_interpretation = in->Type;
|
||||
|
||||
if( in->Bands < 3 )
|
||||
interpretation = VIPS_INTERPRETATION_GREY16;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user