fix a compiler warning

gcc could warn (incorrectly) about used before set in text.c
This commit is contained in:
John Cupitt 2019-09-17 13:32:37 +01:00
parent 3b0d44be51
commit f01023e222
1 changed files with 1 additions and 0 deletions

View File

@ -239,6 +239,7 @@ vips_text_autofit( VipsText *text )
target.width = text->width;
target.height = text->height;
previous_dpi = -1;
previous_difference = 0;
#ifdef DEBUG
printf( "vips_text_autofit: "