diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2012-07-04 23:17:15 +0200 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-07-06 11:39:34 +0100 |
commit | 82af5a75f9b36f2a427fece2cbd14686e644d4ec (patch) | |
tree | 1c2536efcf787e34c4da1e21b5717d37d228998a /pdf/pdf_store.c | |
parent | a4f38e03b9fb97002b497122ab2dff2f322776f4 (diff) | |
download | mupdf-82af5a75f9b36f2a427fece2cbd14686e644d4ec.tar.xz |
Remove debugging functions for release builds.
Diffstat (limited to 'pdf/pdf_store.c')
-rw-r--r-- | pdf/pdf_store.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pdf/pdf_store.c b/pdf/pdf_store.c index 2a3b8b07..2b20fca1 100644 --- a/pdf/pdf_store.c +++ b/pdf/pdf_store.c @@ -31,6 +31,7 @@ pdf_cmp_key(void *k0, void *k1) return pdf_objcmp((pdf_obj *)k0, (pdf_obj *)k1); } +#ifndef NDEBUG static void pdf_debug_key(void *key_) { @@ -42,6 +43,7 @@ pdf_debug_key(void *key_) } else pdf_print_obj(key); } +#endif static fz_store_type pdf_obj_store_type = { @@ -49,7 +51,9 @@ static fz_store_type pdf_obj_store_type = pdf_keep_key, pdf_drop_key, pdf_cmp_key, +#ifndef NDEBUG pdf_debug_key +#endif }; void |