mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 17:16:38 +01:00
Small removal of unnecessary code.
git-svn-id: svn://localhost/ardour2/trunk@1036 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
186a5a2371
commit
d99758ff37
1 changed files with 0 additions and 3 deletions
|
|
@ -221,15 +221,12 @@ XMLNode::child (const char *name) const
|
|||
{
|
||||
/* returns first child matching name */
|
||||
|
||||
static XMLNodeList retval;
|
||||
XMLNodeConstIterator cur;
|
||||
|
||||
if (name == 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
retval.erase(retval.begin(), retval.end());
|
||||
|
||||
for (cur = _children.begin(); cur != _children.end(); ++cur) {
|
||||
if ((*cur)->name() == name) {
|
||||
return *cur;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue