aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-10-17 21:03:49 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-10-17 21:03:49 +0200
commit9a737b2257fe22826095ea02c4db49f86447c0d1 (patch)
treecd82df915257d7aaadcc36e739b1abd43deec846 /src
parent4559dca701ec188c97d7a8983fce1922abdf57c6 (diff)
remove redundant assert()
Bounds checking is already done by SimpleVector.
Diffstat (limited to 'src')
-rw-r--r--src/styleengine.cc1
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);