From 01936e1d49144d3b04546bd90e445ffbac59d261 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 22 Dec 2012 02:33:44 +0000 Subject: [PATCH] Remove unnecessary variable assignment from wxBoxSizer::RecalcSizes(). The "delta" variable was assigned a value that was never used afterwards. Closes #14908. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/sizer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index bcc5bad25b..5f4a0a6ad1 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -2102,9 +2102,8 @@ void wxBoxSizer::RecalcSizes() minMajorSize += GetSizeInMajorDir(item->GetMinSizeWithBorder()); } - // update our min size and delta which may have changed + // update our min size have changed SizeInMajorDir(m_minSize) = minMajorSize; - delta = totalMajorSize - minMajorSize; // space and sum of proportions for the remaining items, both may change -- 2.45.2