summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-11-26 17:48:18 +0100
committerEven Rouault <even.rouault@spatialys.com>2021-11-26 17:48:18 +0100
commit80b003420d4e657379f7c96a71d421abb68a1087 (patch)
treed4320fdec7dc320581838a21a906180dd3a69bb4
parent31e3e939747bc794e3fe615682e90a3b2bc89443 (diff)
downloadlibtiff-git-80b003420d4e657379f7c96a71d421abb68a1087.tar.gz
tif_print.c: remove duplicated if() in previous commit
-rw-r--r--libtiff/tif_print.c2
1 files changed, 0 insertions, 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) {