diff --git a/src/tests/kits/interface/layout/LayoutTest1.cpp b/src/tests/kits/interface/layout/LayoutTest1.cpp index d324117049..3627953aae 100644 --- a/src/tests/kits/interface/layout/LayoutTest1.cpp +++ b/src/tests/kits/interface/layout/LayoutTest1.cpp @@ -624,7 +624,7 @@ struct SplitterGroupLayoutTest1 : public Test { // row 3 .AddSplit(B_HORIZONTAL, B_USE_DEFAULT_SPACING, 3) .Add(new TestView(), 3) - .Add(toggledView = new TestView(), 2) + .Add(new TestView(), 2) .Add(new TestView(), 1) .End() // make the row uncollapsible