Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[Curl] Suppress warning of unused enum value in switch statement.
https://bugs.webkit.org/show_bug.cgi?id=240672 Reviewed by Fujii Hironori. Just after the request object creation, the state is WaitingForStart. It is better the code explicitly takes care of this fact. Also moving the assignment to the state inside the switch statement denotes the state is changing to the response of previous state. No new tests. Covered by existing tests. * platform/network/curl/CurlRequest.cpp: (WebCore::CurlRequest::start): Canonical link: https://commits.webkit.org/250766@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information