diff options
author | Ken Sharp <ken.sharp@artifex.com> | 2017-09-07 12:11:47 +0100 |
---|---|---|
committer | Ken Sharp <ken.sharp@artifex.com> | 2017-09-07 12:11:47 +0100 |
commit | f12500705c692b0ad51156081901fcd3457a5601 (patch) | |
tree | 3c216a2153a85134b181184555ba47eafac9d2ad /base/gximag3x.c | |
parent | 627b0c8a1228830917bb2420edb4613550dd4ef1 (diff) | |
download | ghostpdl-f12500705c692b0ad51156081901fcd3457a5601.tar.gz |
Coverity ID 158370
Again we shouldn't be able to get to the flagged code with 'raster'
being uninitialised, because 'data', which is initialised to 0 would
have to be updated, and that would mean raster was updated as well.
But since we already initialise data its cheap to initialise raster too.
Diffstat (limited to 'base/gximag3x.c')
-rw-r--r-- | base/gximag3x.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/gximag3x.c b/base/gximag3x.c index 2e6adc2a4..06528e68e 100644 --- a/base/gximag3x.c +++ b/base/gximag3x.c @@ -611,6 +611,7 @@ gx_image3x_plane_data(gx_image_enum_common_t * info, int mh = mask_height[i] = penum->mask[i].height; mask_plane[i].data = 0; + mask_plane[i].raster = 0; mask_used[i] = 0; if (!penum->mask[i].depth) continue; |