summaryrefslogtreecommitdiff
path: root/pdf/pdf_check.c
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2022-12-17 11:17:27 +0000
committerKen Sharp <ken.sharp@artifex.com>2022-12-17 11:17:27 +0000
commit497aea6eb7d19b1bd7130bfda07c9dd6123bc527 (patch)
treedea9e4168d54e21244d9e3c8e4577d4ebca72e1f /pdf/pdf_check.c
parent1f69e67da9cd2b985558232874a9941e5c301b76 (diff)
downloadghostpdl-497aea6eb7d19b1bd7130bfda07c9dd6123bc527.tar.gz
Coverity ID 302418 - initialise a variable.
Diffstat (limited to 'pdf/pdf_check.c')
-rw-r--r--pdf/pdf_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_check.c b/pdf/pdf_check.c
index 65de55f7b..1b0619142 100644
--- a/pdf/pdf_check.c
+++ b/pdf/pdf_check.c
@@ -1022,7 +1022,7 @@ static int pdfi_check_Font(pdf_context *ctx, pdf_dict *font, pdf_dict *page_dict
static int pdfi_check_Font_dict(pdf_context *ctx, pdf_dict *font_dict, pdf_dict *page_dict,
pdfi_check_tracker_t *tracker)
{
- int code;
+ int code = 0;
uint64_t i, index;
pdf_obj *Key = NULL, *Value = NULL;