diff --git a/src/tests/kits/interface/layout/LayoutTest1.cpp b/src/tests/kits/interface/layout/LayoutTest1.cpp index 630c45db0c..ad9badfef2 100644 --- a/src/tests/kits/interface/layout/LayoutTest1.cpp +++ b/src/tests/kits/interface/layout/LayoutTest1.cpp @@ -350,7 +350,7 @@ struct GroupLayoutTest1 : public Test { // row 3 .AddGroup(B_HORIZONTAL, 10, 3) .Add(new TestView(), 3) - .Add(toggledView = new TestView(), 2) + .Add(new TestView(), 2) .Add(new TestView(), 1) .End() .End()