Title: [295261] trunk/Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp
- Revision
- 295261
- Author
- [email protected]
- Date
- 2022-06-04 03:12:20 -0700 (Sat, 04 Jun 2022)
Log Message
Unreviewed. Fix the build warning below since r295039.
warning: variable ‘accumulatedWidth’ set but not used [-Wunused-but-set-variable]
* Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp:
(WebCore::Layout::FlexLayout::computeLogicalWidthForStretchingFlexItems):
Modified Paths
Diff
Modified: trunk/Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp (295260 => 295261)
--- trunk/Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp 2022-06-04 08:30:21 UTC (rev 295260)
+++ trunk/Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp 2022-06-04 10:12:20 UTC (rev 295261)
@@ -182,7 +182,6 @@
// This is where we compute how much space the flexing boxes take up if we just
// let them flex by their flex-grow value. Note that we can't size them below their minimum content width.
// Such flex items are removed from the final overflow distribution.
- auto accumulatedWidth = LayoutUnit { };
while (true) {
auto didFreeze = false;
for (auto& stretchingFlex : stretchingItems) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes