summaryrefslogtreecommitdiff
path: root/tools/tiffinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tiffinfo.c')
-rw-r--r--tools/tiffinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tiffinfo.c b/tools/tiffinfo.c
index 12cd108c..0ab8ca95 100644
--- a/tools/tiffinfo.c
+++ b/tools/tiffinfo.c
@@ -476,7 +476,7 @@ TIFFReadRawDataTiled(TIFF* tif, int bitrev)
{
const char* what = "Tile";
uint32_t ntiles = TIFFNumberOfTiles(tif);
- uint64_t *tilebc;
+ uint64_t *tilebc = NULL;
TIFFGetField(tif, TIFFTAG_TILEBYTECOUNTS, &tilebc);
if (tilebc != NULL && ntiles > 0) {