Revert "recommit the innocuous fixes from cppcheck - the va_end calls were deleting pointers and breaking things further down the line"

This reverts commit bc33f176c2.
This commit is contained in:
DarthArgus
2015-04-02 22:40:20 -05:00
parent b80bd0c99b
commit def3a0350f
7 changed files with 13 additions and 11 deletions
@@ -217,8 +217,8 @@ bool VisibleExpandableEntry::pruneInvisibleChildren()
for (Children::iterator i = m_children.begin(); i != m_children.end(); )
if ((*i)->m_visible == false)
{
delete *i;
m_children.erase(i);
delete *i;
}
else
++i;