summaryrefslogtreecommitdiffstats
path: root/src/oplist.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-02-07 12:47:10 +0100
committerGravatar Nikias Bassen2023-02-07 12:47:10 +0100
commitbfc97788f081584ced9cd35d85b69b3fec6b907c (patch)
treef63f82c52c9f795ce3f1290a37548604e73bf9b5 /src/oplist.c
parent4dbf9de9690841bd084a7bb641197d3a3d5ce217 (diff)
downloadlibplist-bfc97788f081584ced9cd35d85b69b3fec6b907c.tar.gz
libplist-bfc97788f081584ced9cd35d85b69b3fec6b907c.tar.bz2
Fix build without --enable-debug
Diffstat (limited to 'src/oplist.c')
-rw-r--r--src/oplist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/oplist.c b/src/oplist.c
index 1781962..a750767 100644
--- a/src/oplist.c
+++ b/src/oplist.c
@@ -65,7 +65,9 @@ void plist_ostep_deinit(void)
void plist_ostep_set_debug(int debug)
{
+#if DEBUG
plist_ostep_debug = debug;
+#endif
}
#ifndef HAVE_STRNDUP