From b51310723cafcb7ab805ed528eb29fb4402d6d43 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 1 Apr 2018 19:52:18 +0200 Subject: [PATCH] Fix build with -DENABLE_DECODE=n. --- pv/logging.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pv/logging.cpp b/pv/logging.cpp index 9740690e..49b7d582 100644 --- a/pv/logging.cpp +++ b/pv/logging.cpp @@ -72,7 +72,9 @@ int Logging::get_log_level() const void Logging::set_log_level(int level) { sr_log_loglevel_set(level); +#ifdef ENABLE_DECODE srd_log_loglevel_set(level); +#endif } QString Logging::get_log() const -- 2.30.2