diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-10-17 21:03:49 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-10-17 21:03:49 +0200 |
commit | 9a737b2257fe22826095ea02c4db49f86447c0d1 (patch) | |
tree | cd82df915257d7aaadcc36e739b1abd43deec846 /src/styleengine.cc | |
parent | 4559dca701ec188c97d7a8983fce1922abdf57c6 (diff) |
remove redundant assert()
Bounds checking is already done by SimpleVector.
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r-- | src/styleengine.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc index 72d7c48b..540e9d06 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -199,7 +199,6 @@ void StyleEngine::setPseudoVisited () { * \brief tell the styleEngine that a html element has ended. */ void StyleEngine::endElement (int element) { - assert (stack->size () > 0); assert (element == doctree->top ()->element); Node *n = stack->getRef (stack->size () - 1); |