From c461e8bd690c09e5429ef36767f9362e7906a125 Mon Sep 17 00:00:00 2001 From: Denis Smirnov Date: Thu, 1 Dec 2022 12:34:52 +0300 Subject: [PATCH] remove unused variable from DocumentPaneTabPanel --- source/Components/AvalonDock/Controls/DocumentPaneTabPanel.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/Components/AvalonDock/Controls/DocumentPaneTabPanel.cs b/source/Components/AvalonDock/Controls/DocumentPaneTabPanel.cs index 156b2056..f8eb5866 100644 --- a/source/Components/AvalonDock/Controls/DocumentPaneTabPanel.cs +++ b/source/Components/AvalonDock/Controls/DocumentPaneTabPanel.cs @@ -1,4 +1,4 @@ -/************************************************************************ +/************************************************************************ AvalonDock Copyright (C) 2007-2013 Xceed Software Inc. @@ -36,8 +36,6 @@ public DocumentPaneTabPanel() protected override Size MeasureOverride(Size availableSize) { - var visibleChildren = Children.Cast().Where(ch => ch.Visibility != System.Windows.Visibility.Collapsed); - Size desideredSize = new Size(); foreach (FrameworkElement child in Children) {