diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2022-02-18 16:00:12 +0000 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2022-02-18 16:00:12 +0000 |
commit | 6d4b653ee96c0660c5e6e193d6da1947d0898ae9 (patch) | |
tree | 01cc2de2c3ed13fbfd40af336f1e8e89247be10a /devices/gdevfpng.c | |
parent | 63f98dc88fc2b21007e78e488a3c3800d1a120e6 (diff) | |
download | ghostpdl-6d4b653ee96c0660c5e6e193d6da1947d0898ae9.tar.gz |
Coverity 375485: Initialise variable.
Technically, probably not actually required, as no one ever uses
total_in, but this doesn't hurt.
Diffstat (limited to 'devices/gdevfpng.c')
-rw-r--r-- | devices/gdevfpng.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/devices/gdevfpng.c b/devices/gdevfpng.c index 445290702..f533d777f 100644 --- a/devices/gdevfpng.c +++ b/devices/gdevfpng.c @@ -302,6 +302,7 @@ static int fpng_process(void *arg, gx_device *dev, gx_device *bdev, const gs_int stream.next_out = &buffer->data[0]; stream.avail_out = buffer->size; stream.total_out = 0; + stream.total_in = 0; /* Nasty zlib hackery here. Zlib always outputs a 'start of stream' * marker at the beginning. We just want a block, so for all blocks |