summaryrefslogtreecommitdiff
path: root/fitz/res_store.c
diff options
context:
space:
mode:
Diffstat (limited to 'fitz/res_store.c')
-rw-r--r--fitz/res_store.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fitz/res_store.c b/fitz/res_store.c
index 8e5375d6..a76cfbb0 100644
--- a/fitz/res_store.c
+++ b/fitz/res_store.c
@@ -452,6 +452,7 @@ fz_drop_store_context(fz_context *ctx)
ctx->store = NULL;
}
+#ifndef NDEBUG
void
fz_print_store(fz_context *ctx, FILE *out)
{
@@ -476,6 +477,7 @@ fz_print_store(fz_context *ctx, FILE *out)
}
fz_unlock(ctx, FZ_LOCK_ALLOC);
}
+#endif
/* This is now an n^2 algorithm - not ideal, but it'll only be bad if we are
* actually managing to scavenge lots of blocks back. */