From 0f57f3692b7fe049e14d9e05619b9eb5d219a1da Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Wed, 3 Jun 2020 13:11:18 +0100 Subject: [PATCH] stop a compiler warning --- libvips/foreign/csvload.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libvips/foreign/csvload.c b/libvips/foreign/csvload.c index 0e2255b8..25a137f8 100644 --- a/libvips/foreign/csvload.c +++ b/libvips/foreign/csvload.c @@ -413,6 +413,10 @@ vips_foreign_load_csv_load( VipsForeignLoad *load ) for( y = 0; y < load->real->Ysize; y++ ) { csv->colno = 0; + /* Not needed, but stops a used-before-set compiler warning. + */ + ch = EOF; + for( x = 0; x < load->real->Xsize; x++ ) { double value;