Bug 232591 - [Curl] Fix -Wreorder-ctor in CurlRequest
Summary: [Curl] Fix -Wreorder-ctor in CurlRequest
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Don Olmstead
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-11-01 16:11 PDT by Don Olmstead
Modified: 2021-11-01 20:26 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.63 KB, patch)
2021-11-01 16:15 PDT, Don Olmstead
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Don Olmstead 2021-11-01 16:11:22 PDT
New Clang 13 warning

[2779/6831] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/platform/network/curl/CurlRequest.cpp.o
../../Source/WebCore/platform/network/curl/CurlRequest.cpp:49:7: warning: field 'm_startState' will be initialized after field 'm_enableMultipart' [-Wreorder-ctor]
    , m_startState(shouldSuspend == ShouldSuspend::Yes ? StartState::StartSuspended : StartState::WaitingForStart)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      m_enableMultipart(enableMultipart == EnableMultipart::Yes)
Comment 1 Don Olmstead 2021-11-01 16:15:40 PDT
Created attachment 443030 [details]
Patch
Comment 2 EWS 2021-11-01 20:25:37 PDT
Committed r285151 (243788@main): <https://commits.webkit.org/243788@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 443030 [details].
Comment 3 Radar WebKit Bug Importer 2021-11-01 20:26:17 PDT
<rdar://problem/84913054>