summaryrefslogtreecommitdiffstats
path: root/src/bplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bplist.c')
-rw-r--r--src/bplist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bplist.c b/src/bplist.c
index 72040cc..d29d499 100644
--- a/src/bplist.c
+++ b/src/bplist.c
@@ -229,7 +229,9 @@ void plist_bin_deinit(void)
void plist_bin_set_debug(int debug)
{
+#if DEBUG
plist_bin_debug = debug;
+#endif
}
static plist_t parse_bin_node_at_index(struct bplist_data *bplist, uint32_t node_index);