From: Uwe Hermann Date: Sun, 1 Apr 2018 17:52:18 +0000 (+0200) Subject: Fix build with -DENABLE_DECODE=n. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b51310723cafcb7ab805ed528eb29fb4402d6d43;p=pulseview.git Fix build with -DENABLE_DECODE=n. --- 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