diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-25 10:34:16 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-25 10:34:16 -0600 |
commit | 447a045828e743e260e9ffe84c6744d7093077a0 (patch) | |
tree | 213e57d165538cc94370433af07be967ccd33eac /gtk2_ardour/main.cc | |
parent | 3e962da4bb350fd61a541e1458529ddafa0935d1 (diff) |
do not parse debug options in a non-debug build
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r-- | gtk2_ardour/main.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc index 9e1a5cb47e..401ea67b7e 100644 --- a/gtk2_ardour/main.cc +++ b/gtk2_ardour/main.cc @@ -360,10 +360,12 @@ int main (int argc, char *argv[]) } { +#ifndef NDEBUG const char *adf; if ((adf = g_getenv ("ARDOUR_DEBUG_FLAGS"))) { PBD::parse_debug_options (adf); } +#endif /* NDEBUG */ } cout << PROGRAM_NAME |