Remove unused function, fix optimized builds

This commit is contained in:
Robin Gareus 2021-05-06 15:27:26 +02:00
parent b75118ee13
commit fc54ab48ec
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 4 additions and 9 deletions

View file

@ -698,8 +698,3 @@ ARDOUR::compute_sha1_of_file (std::string path)
sha1_result_hash (&s, hash);
return std::string (hash);
}
extern "C" {
void c_stacktrace() { stacktrace (cerr); }
}

View file

@ -133,8 +133,8 @@ PBD::stacktrace (std::ostream& out, int /*levels*/)
#endif
void
c_stacktrace ()
{
PBD::stacktrace (std::cout);
#if 0 // unused
extern "C" {
void c_stacktrace () { PBD::stacktrace (std::cout); }
}
#endif