diff --git a/poincare/src/layout_node.cpp b/poincare/src/layout_node.cpp index 7c33a2f3d..6058df3f2 100644 --- a/poincare/src/layout_node.cpp +++ b/poincare/src/layout_node.cpp @@ -169,7 +169,6 @@ bool LayoutNode::protectedIsIdenticalTo(Layout l) { return false; } for (int i = 0; i < numberOfChildren(); i++) { - Layout child = childAtIndex(i); if (!childAtIndex(i)->isIdenticalTo(l.childAtIndex(i))) { return false; }