summaryrefslogtreecommitdiff
path: root/fitz/base_hash.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2012-07-04 23:17:15 +0200
committerRobin Watts <robin.watts@artifex.com>2012-07-06 11:39:34 +0100
commit82af5a75f9b36f2a427fece2cbd14686e644d4ec (patch)
tree1c2536efcf787e34c4da1e21b5717d37d228998a /fitz/base_hash.c
parenta4f38e03b9fb97002b497122ab2dff2f322776f4 (diff)
downloadmupdf-82af5a75f9b36f2a427fece2cbd14686e644d4ec.tar.xz
Remove debugging functions for release builds.
Diffstat (limited to 'fitz/base_hash.c')
-rw-r--r--fitz/base_hash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fitz/base_hash.c b/fitz/base_hash.c
index ccdffe63..76d7f870 100644
--- a/fitz/base_hash.c
+++ b/fitz/base_hash.c
@@ -267,6 +267,7 @@ fz_hash_remove(fz_context *ctx, fz_hash_table *table, void *key)
}
}
+#ifndef NDEBUG
void
fz_print_hash(fz_context *ctx, FILE *out, fz_hash_table *table)
{
@@ -287,3 +288,4 @@ fz_print_hash(fz_context *ctx, FILE *out, fz_hash_table *table)
}
}
}
+#endif