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
@@ -10,6 +10,7 @@ enum { MAY_PRINT = 1, MAY_COPY = 2, MAY_EDIT = 4, MAY_ANNOTATE = 8, MAY_FILL = 1
|
||||
int ely_permissions(fz_context *ctx, fz_document *doc)
|
||||
{
|
||||
int may = 0;
|
||||
fz_var(may);
|
||||
fz_try(ctx)
|
||||
{
|
||||
pdf_document *pdf = ely_pdf_of(ctx, doc);
|
||||
|
||||
Reference in new issue
Block a user