From d3d195dd8548b8a9f90d517f25b3567d4f9df73b Mon Sep 17 00:00:00 2001 From: Justin Litchfield Date: Wed, 4 Apr 2018 18:19:31 -0500 Subject: [PATCH] bt_print and bt_exit is enclosed in the conditional --- common/daemon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/daemon.c b/common/daemon.c index 5ecc4ba41..5815d8178 100644 --- a/common/daemon.c +++ b/common/daemon.c @@ -84,10 +84,9 @@ void daemon_setup(const char *argv0, { err_set_progname(argv0); +#if BACKTRACE_SUPPORTED bt_print = backtrace_print; bt_exit = backtrace_exit; - -#if BACKTRACE_SUPPORTED #if DEVELOPER /* Suppresses backtrace (breaks valgrind) */ if (!getenv("LIGHTNINGD_DEV_NO_BACKTRACE"))