summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ClashAvoider.cpp6
-rw-r--r--src/Log.cpp9
2 files changed, 0 insertions, 15 deletions
diff --git a/src/ClashAvoider.cpp b/src/ClashAvoider.cpp
index b782bcc7..251b8a33 100644
--- a/src/ClashAvoider.cpp
+++ b/src/ClashAvoider.cpp
@@ -98,12 +98,6 @@ ClashAvoider::map_path(const raul::Path& in)
auto o = _offsets.find(base_path);
if (o != _offsets.end()) {
offset = ++o->second;
- } else {
- std::string parent_str = in.parent().base();
- parent_str = parent_str.substr(0, parent_str.find_last_of('/'));
- if (parent_str.empty()) {
- parent_str = "/";
- }
}
if (offset == 0) {
diff --git a/src/Log.cpp b/src/Log.cpp
index e17e1555..1c5b64d9 100644
--- a/src/Log.cpp
+++ b/src/Log.cpp
@@ -72,15 +72,6 @@ Log::trace(const std::string& msg)
vtprintf(_uris.log_Trace, msg.c_str(), args);
}
-void
-Log::print(FILE* stream, const std::string& msg) const
-{
- fprintf(stream, "%s", msg.c_str());
- if (_flush) {
- fflush(stdout);
- }
-}
-
int
Log::vtprintf(LV2_URID type, const char* fmt, va_list args)
{