REGRESSION(r275765) When ignoring HSTS, sometimes loads fail
Created attachment 430635 [details] Patch
Created attachment 430636 [details] Patch
Comment on attachment 430636 [details] Patch Why don't we treat warnings as errors in WebKit2? Seems we should have gotten an unused parameter warning here..
Comment on attachment 430636 [details] Patch We don't treat unused parameters as warnings in ObjC because the language requires unused parameters to be named in selector calls. We ought to be able to do it for non-selector functions like this, though.
<rdar://78066692>
Committed r278517 (238516@main): <https://commits.webkit.org/238516@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 430636 [details].
Alex is right. When I turned on unused parameter warnings, I didn’t do it for Objective-C because we’d have to add UNUSED_PARAM in so many places. And I really prefer the "leave out the variable name" over the "use the UNUSED_PARAM macro" style. But that wasn’t a great decision for the ages. I’d love to turn it on now even for the Objective-C files.