diff options
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r-- | src/mainwin.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc index 17b9ef7..d5af643 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -584,15 +584,6 @@ void MainWindow::refreshDocument() setCurrentOutput(); } -AbstractNode *MainWindow::find_root_tag(AbstractNode *n) -{ - BOOST_FOREACH (AbstractNode *v, n->children) { - if (v->modinst->isRoot()) return v; - if (AbstractNode *vroot = find_root_tag(v)) return vroot; - } - return NULL; -} - /*! Parse and evaluate the design => this->root_node |