diff options
author | Taybin Rutkin <taybin@taybin.com> | 2006-10-31 16:12:05 +0000 |
---|---|---|
committer | Taybin Rutkin <taybin@taybin.com> | 2006-10-31 16:12:05 +0000 |
commit | d99758ff374876660a304356b8398299aa1cb61a (patch) | |
tree | 8e5570fd3c9710c34d3cccd75d1f8947befdd9ce /libs | |
parent | 186a5a23716bec8c5a9c576ce3924c430bef7b31 (diff) |
Small removal of unnecessary code.
git-svn-id: svn://localhost/ardour2/trunk@1036 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/pbd/xml++.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/pbd/xml++.cc b/libs/pbd/xml++.cc index 1b10be89f5..3a0af1621d 100644 --- a/libs/pbd/xml++.cc +++ b/libs/pbd/xml++.cc @@ -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; |