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); sha1_result_hash (&s, hash);
return std::string (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 #endif
void #if 0 // unused
c_stacktrace () extern "C" {
{ void c_stacktrace () { PBD::stacktrace (std::cout); }
PBD::stacktrace (std::cout);
} }
#endif