diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2022-04-12 14:30:41 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2022-04-12 14:32:05 +0100 |
commit | a2030a0cc4c9691bd097d7052665194cfee5d931 (patch) | |
tree | d946f2710c9838de3d5180fb50fe3b6ff665f34a /base/gxdownscale.c | |
parent | 226cb507884bc4f8d75f74c5b1af409cd5885b15 (diff) | |
download | ghostpdl-a2030a0cc4c9691bd097d7052665194cfee5d931.tar.gz |
Fix warning in downscaler.c
The compiler warns that code could be used unitialised. We know
that we have at least one plane, so it won't be, but silence
the warning for neatness.
Diffstat (limited to 'base/gxdownscale.c')
-rw-r--r-- | base/gxdownscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gxdownscale.c b/base/gxdownscale.c index 1f8138cb5..8ed122672 100644 --- a/base/gxdownscale.c +++ b/base/gxdownscale.c @@ -2168,7 +2168,7 @@ static int planar_skew_line(gx_downscale_liner *liner_, void *params_, int row) { liner_skew *liner = (liner_skew *)liner_; - int code; + int code = 0; gs_get_bits_params_t *params = (gs_get_bits_params_t *)params_; int i; |