WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
267196
Fix warnings found by compiling with -Wmisleading-indentation
https://bugs.webkit.org/show_bug.cgi?id=267196
Summary
Fix warnings found by compiling with -Wmisleading-indentation
David Kilzer (:ddkilzer)
Reported
2024-01-06 21:25:14 PST
Fix warnings found by compiling with -Wmisleading-indentation. Examples: WebKitBuild/Release/DerivedSources/WebCore/Settings.cpp:3320:9: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] 3320 | m_values.authorAndUserStylesEnabledInspectorOverride = authorAndUserStylesEnabledInspectorOverride; | ^ WebKitBuild/Release/DerivedSources/WebCore/Settings.cpp:3318:5: note: previous statement is here 3318 | if (m_values.authorAndUserStylesEnabledInspectorOverride == authorAndUserStylesEnabledInspectorOverride) | ^ Source/WebCore/platform/ios/wak/WKView.mm:232:17: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] 232 | break; | ^ Source/WebCore/platform/ios/wak/WKView.mm:230:13: note: previous statement is here 230 | if (widthOrHeight < 0.0f) | ^
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-01-06 21:25:34 PST
<
rdar://problem/120600518
>
David Kilzer (:ddkilzer)
Comment 2
2024-01-06 21:27:39 PST
Pull request:
https://github.com/WebKit/WebKit/pull/22480
EWS
Comment 3
2024-01-08 09:31:08 PST
Committed
272772@main
(27103d255680): <
https://commits.webkit.org/272772@main
> Reviewed commits have been landed. Closing PR #22480 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug