mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
bt_print and bt_exit is enclosed in the conditional
This commit is contained in:
parent
1a55147870
commit
d3d195dd85
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user