summaryrefslogtreecommitdiff
path: root/libs/ardour/source.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-05-10 05:29:26 +0000
committerDavid Robillard <d@drobilla.net>2007-05-10 05:29:26 +0000
commit3f7551761007963c9d38202f0c81247f30441861 (patch)
treee0cc6dff4eab623113e9700523ea6a91885ebd70 /libs/ardour/source.cc
parent0c0879ca1c7ccfefd8201c007f8223659562fe09 (diff)
Got rid of (possibly?) false assertion (not present in 2.0 and caused crashes).
git-svn-id: svn://localhost/ardour2/trunk@1818 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/source.cc')
-rw-r--r--libs/ardour/source.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/source.cc b/libs/ardour/source.cc
index 21cd871cbf..61a0245927 100644
--- a/libs/ardour/source.cc
+++ b/libs/ardour/source.cc
@@ -116,7 +116,9 @@ Source::set_state (const XMLNode& node)
if ((prop = node.property ("timestamp")) != 0) {
sscanf (prop->value().c_str(), "%ld", &_timestamp);
}
- assert(_name.find("/") == string::npos);
+
+ // Don't think this is valid, absolute paths fail
+ //assert(_name.find("/") == string::npos);
return 0;
}