summaryrefslogtreecommitdiff
path: root/devices/vector/gdevpdfd.c
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2023-05-15 17:21:20 +0100
committerRobin Watts <Robin.Watts@artifex.com>2023-05-15 17:42:44 +0100
commit63f2f72a5d94e9085525197745935b4954b346fa (patch)
tree6c023dbca83c04dc2e296427c12d8736b81f4b0f /devices/vector/gdevpdfd.c
parentd9162e337a7e6c3603700b42e37eb9aaaff69bf0 (diff)
downloadghostpdl-63f2f72a5d94e9085525197745935b4954b346fa.tar.gz
Squash various warnings.
Unused variables, 'may be used unset' or implementations not matching prototypes. These show up now as the gcc version on the nodes has increased.
Diffstat (limited to 'devices/vector/gdevpdfd.c')
-rw-r--r--devices/vector/gdevpdfd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/devices/vector/gdevpdfd.c b/devices/vector/gdevpdfd.c
index 273e750af..e2c9c1a07 100644
--- a/devices/vector/gdevpdfd.c
+++ b/devices/vector/gdevpdfd.c
@@ -1418,7 +1418,6 @@ lcvd_fill_trapezoid(gx_device * dev, const gs_fixed_edge * left,
const gs_fixed_edge * right, fixed ybot, fixed ytop, bool swap_axes,
const gx_device_color * pdevc, gs_logical_operation_t lop)
{
- int code = 0;
pdf_lcvd_t *cvd = (pdf_lcvd_t *)dev;
if (cvd->mask != NULL)