From 80b003420d4e657379f7c96a71d421abb68a1087 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Fri, 26 Nov 2021 17:48:18 +0100 Subject: tif_print.c: remove duplicated if() in previous commit --- libtiff/tif_print.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libtiff/tif_print.c b/libtiff/tif_print.c index 5a0305ed..4e0082ae 100644 --- a/libtiff/tif_print.c +++ b/libtiff/tif_print.c @@ -124,8 +124,6 @@ _TIFFPrintField(FILE* fd, const TIFFField *fip, fprintf(fd, "%"PRId64, ((int64_t *) raw_data)[j]); else if(fip->field_type == TIFF_IFD8) fprintf(fd, "0x%"PRIx64, ((uint64_t *) raw_data)[j]); - else if(fip->field_type == TIFF_FLOAT) - fprintf(fd, "%f", ((float *)raw_data)[j]); else if(fip->field_type == TIFF_DOUBLE) fprintf(fd, "%lf", ((double *) raw_data)[j]); else if(fip->field_type == TIFF_ASCII) { -- cgit v1.2.1