diff --git a/libvips/conversion/arrayjoin.c b/libvips/conversion/arrayjoin.c index 0d9e47f7..62dee967 100644 --- a/libvips/conversion/arrayjoin.c +++ b/libvips/conversion/arrayjoin.c @@ -220,6 +220,13 @@ vips_arrayjoin_build( VipsObject *object ) int left, top; int width, height; + /* Keep clang quiet about used-before-set. + */ + left = 0; + top = 0; + width = 0; + height = 0; + switch( join->halign ) { case VIPS_ALIGN_LOW: left = 0;