diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2023-05-15 17:21:20 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2023-05-15 17:42:44 +0100 |
commit | 63f2f72a5d94e9085525197745935b4954b346fa (patch) | |
tree | 6c023dbca83c04dc2e296427c12d8736b81f4b0f /psi | |
parent | d9162e337a7e6c3603700b42e37eb9aaaff69bf0 (diff) | |
download | ghostpdl-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 'psi')
-rw-r--r-- | psi/zpdfops.c | 1 | ||||
-rw-r--r-- | psi/zvmem.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/psi/zpdfops.c b/psi/zpdfops.c index 005a41ab2..f7e17c77d 100644 --- a/psi/zpdfops.c +++ b/psi/zpdfops.c @@ -1553,7 +1553,6 @@ static int zPDFSetParams(i_ctx_t *i_ctx_p) static int zPDFInit(i_ctx_t *i_ctx_p) { os_ptr op = osp; - ref *pdictref = NULL, *pvalueref; pdfctx_t *pdfctx = NULL; pdf_context *ctx = NULL; int code = 0; diff --git a/psi/zvmem.c b/psi/zvmem.c index e062c8337..50c2a8249 100644 --- a/psi/zvmem.c +++ b/psi/zvmem.c @@ -238,6 +238,7 @@ restore_check_operand(os_ptr op, alloc_save_t ** pasave, ulong sid; alloc_save_t *asave; + *pasave = NULL; check_type(*op, t_save); vmsave = r_ptr(op, vm_save_t); if (vmsave == 0) /* invalidated save */ |