projects
/
mupdf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dfd5c0
)
Add FZ_UNUSED to fz_keep_page_locked definition.
author
Robin Watts
<
[email protected]
>
Wed, 7 Jul 2021 23:12:53 +0000
(
00:12
+0100)
committer
Robin Watts
<
[email protected]
>
Fri, 9 Jul 2021 14:33:45 +0000
(15:33 +0100)
Avoids warning. Thanks to malc for the report and patch.
include/mupdf/fitz/context.h
patch
|
blob
|
blame
|
history
diff --git
a/include/mupdf/fitz/context.h
b/include/mupdf/fitz/context.h
index 876cb2a1aa4d4f558580c8cc47a090ec49739b02..b12767d33c8cd5c63620f220e2e679c56f8d27c2 100644
(file)
--- a/
include/mupdf/fitz/context.h
+++ b/
include/mupdf/fitz/context.h
@@
-630,7
+630,7
@@
fz_keep_imp(fz_context *ctx, void *p, int *refs)
}
static inline void *
-fz_keep_imp_locked(fz_context *ctx, void *p, int *refs)
+fz_keep_imp_locked(fz_context *ctx
FZ_UNUSED
, void *p, int *refs)
{
if (p)
{