From 9a737b2257fe22826095ea02c4db49f86447c0d1 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sun, 17 Oct 2010 21:03:49 +0200 Subject: remove redundant assert() Bounds checking is already done by SimpleVector. --- src/styleengine.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'src/styleengine.cc') 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); -- cgit v1.2.3