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

+1
View File
@@ -121,6 +121,7 @@ int ely_optimize(fz_context *ctx, fz_document *doc, const char *raw, const char
int ely_repaired(fz_context *ctx, fz_document *doc)
{
int repaired = 0;
fz_var(repaired);
fz_try(ctx)
repaired = pdf_was_repaired(ctx, ely_pdf_of(ctx, doc));
fz_catch(ctx)