changeset 1748:ad210fc5a366

remove redundant assert() Bounds checking is already done by SimpleVector.
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Sun, 17 Oct 2010 21:03:49 +0200
parents 4e57bc05b69d
children 1a3af54d6003
files src/styleengine.cc
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/styleengine.cc	Sun Oct 17 21:00:33 2010 +0200
+++ b/src/styleengine.cc	Sun Oct 17 21:03:49 2010 +0200
@@ -199,7 +199,6 @@
  * \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);