⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 288237 in webkit


Ignore:
Timestamp:
Jan 19, 2022, 1:24:47 PM (5 years ago)
Author:
Chris Dumez
Message:

WebKit::AuthenticatorPresenterCoordinator() constructor falls through ASSERT_NOT_REACHED()
​https://bugs.webkit.org/show_bug.cgi?id=234991
<rdar://problem/87275093>

Reviewed by Darin Adler.

Drop unnecessary default: case in the switch statement since it handles all enum values already.

  • UIProcess/WebAuthentication/Cocoa/AuthenticatorPresenterCoordinator.mm:

(WebKit::AuthenticatorPresenterCoordinator::AuthenticatorPresenterCoordinator):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r288232 r288237  
     12022-01-19  Chris Dumez  <cdumez@apple.com>
     2
     3        WebKit::AuthenticatorPresenterCoordinator() constructor falls through ASSERT_NOT_REACHED()
     4        https://bugs.webkit.org/show_bug.cgi?id=234991
     5        <rdar://problem/87275093>
     6
     7        Reviewed by Darin Adler.
     8
     9        Drop unnecessary default: case in the switch statement since it handles all enum values already.
     10
     11        * UIProcess/WebAuthentication/Cocoa/AuthenticatorPresenterCoordinator.mm:
     12        (WebKit::AuthenticatorPresenterCoordinator::AuthenticatorPresenterCoordinator):
     13
    1142022-01-19  Chris Dumez  <cdumez@apple.com>
    215
  • trunk/Source/WebKit/UIProcess/WebAuthentication/Cocoa/AuthenticatorPresenterCoordinator.mm

    r284142 r288237  
    6161            [m_context addLoginChoice:adoptNS([allocASCSecurityKeyPublicKeyCredentialLoginChoiceInstance() initAssertionPlaceholderChoice]).get()];
    6262        break;
    63     default:
    64         ASSERT_NOT_REACHED();
    6563    }
    6664
Note: See TracChangeset for help on using the changeset viewer.