fix a compiler warning
gcc could warn (incorrectly) about used before set in text.c
This commit is contained in:
parent
3b0d44be51
commit
f01023e222
@ -239,6 +239,7 @@ vips_text_autofit( VipsText *text )
|
|||||||
target.width = text->width;
|
target.width = text->width;
|
||||||
target.height = text->height;
|
target.height = text->height;
|
||||||
previous_dpi = -1;
|
previous_dpi = -1;
|
||||||
|
previous_difference = 0;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf( "vips_text_autofit: "
|
printf( "vips_text_autofit: "
|
||||||
|
Loading…
Reference in New Issue
Block a user