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:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-10 20:05:25 -04:00
1 parent 76b78782d5
commit 3b23a92b3c
10 files changed
+20

No files matched your search

+2
View File
@@ -169,6 +169,7 @@ static int reachable(fz_context *ctx, pdf_document *pdf, pdf_page *page, fz_stex
fz_var(t.at);
fz_var(t.c);
pdf_begin_operation(ctx, pdf, "Look at text");
fz_var(ok);
fz_try(ctx)
{
block_targets(ctx, block, ely_to_user(ctx, page), &t);
@@ -203,6 +204,7 @@ static void reachable_all(fz_context *ctx, pdf_document *pdf, pdf_page *page, fz
fz_var(t.seen);
fz_var(count);
pdf_begin_operation(ctx, pdf, "Look at text");
fz_var(all);
fz_try(ctx)
{
for (block = text->first_block; block; block = block->next)