PDF shim: fz_var for locals set inside fz_try (gcc -Wclobbered on Linux)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
76b78782d5
commit
3b23a92b3c
10 files changed
+20
No files matched your search
@@ -41,6 +41,7 @@ static int quiet_elem(fz_context *ctx, pdf_obj *elem, int page, int inherited)
|
||||
int pg, i, on = 0;
|
||||
if (!pdf_is_dict(ctx, elem) || pdf_mark_obj(ctx, elem))
|
||||
return 0;
|
||||
fz_var(on);
|
||||
fz_try(ctx)
|
||||
{
|
||||
pg = pdf_dict_gets(ctx, elem, "Pg") ? pdf_to_num(ctx, pdf_dict_gets(ctx, elem, "Pg")) : inherited;
|
||||
|
||||
Reference in new issue
Block a user